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 arrays can be defined in COBOL?

1136


Can we redefine the field of x(200) to less than 200?

1307


How do define dynamic array in cobol.

1083


IF I mention stop run in CICS what happens?

2304


what are decleratives in cobol?

2209


what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.

9018


What guidelines should be followed to write a structured cobol prgm?

1089


For rewrite, why is it mandatory that file needs to be opened?

1063


How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?

1081


What is the LINKAGE SECTION used in COBOL?

1469


Difference between array and sub-script ?

1604


What are various search techniques in cobol? Explain.

1026


If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly

3092


What is the Purpose of POINTER Phrase in STRING command in COBOL?

1196


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

1174