Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to delete leading spaces/blank in COBOL ?
Example:- 01 data-name-1 pic x(220) " English is a
language".
I would like to delete leading spaces.

Answer Posted / varun v

I agree with Ans # 1 also.

But I think "Inspect Tallying" is the effective one as
there is no manual calculation is required for finding the
exact length of the second variable field(CHR6 in Ans #1)
is required.

Is This Answer Correct ?    7 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to convert the recors form vsam file to db2 table tru file aid

3270


How do you define a variable of comp-1 and comp-2?

1210


Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc

1261


What is the difference between binary search and sequential search?

1099


Can we change the password using ALTER? anyone tried and changed?

2023


how to refer the data field?

2285


What is the difference between structured cobol programming and object alternativelyiented cobol?

1256


What are the different rules for performing sort operation?

1232


What is rmode(24)

1157


Can you please let me know the centre name of INS certification in Kolkata.

2249


Explain what you understand by passing by value.

1166


what is difference between cobol and cobol/400

22939


2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic

2595


Which mode is used to operate the sequential file?

1213


How do we get current date from system with century in COBOL?

1387