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 do you reference the esds vsam file formats from cobol programs

1273


) How do u handle errors in BMS macro

2105


What is the difference between Structured COBOL Programming and Object Oriented COBOL programming?

1185


Why occurs cannot be used in 01 level in COBOL?

1206


How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

1219


How do you differentiate between cobol and cobol-ii?

1284


What is the difference between perform … with test after and perform … with test before?

1500


What are declaratives and what are their uses in cobol?

1262


What is rmode(24)

1199


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

2648


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

2066


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

1299


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

1169


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17931


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

1301