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 / xyz

USe the Inspect Clause , get the number of the leading
spaces in the Count variable. Use the reference move then.

Is This Answer Correct ?    32 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?

1355


How do you get the data to code the BMS macro?

1971


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

2021


How can you get the ksds file records into your cobol program?

1100


Differentiate between structured cobol programming and object-oriented cobol programming.

1149


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

1243


What are various search techniques in cobol? Explain.

1070


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

2472


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1407


Which mode is used to operate the sequential file?

1205


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

1109


What are the different open modes available in cobol?

1190


How to know whether the module is dynamical or statistical?

1140


if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.

6589


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

4171