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 remove leading spaces and zeroes in a cobol
variable.is there any easy way to do it

Answer Posted / surendra

find the lenght of the leading spaces then move the actual
value of the variables using reference modification to
another working storage variable.

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between goback, stop run and exit program in cobol?

1642


What are 77 levels used for?

1146


What is the utilization of copybook in cobol?

1270


Which mode is used to operate the sequential file?

1253


Write some characteristics of cobol as means of business language.

1196


how to access the file from prodution from changeman tool and to submit a file to production

7623


how can i see junk values in dclgen or in hostvariable of comp ?

3048


) How do u handle errors in BMS macro?

2013


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

2490


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

1391


Explain how to differentiate call by context by comparing it to other calls?

1240


What is the difference between PIC 9.99 and 9v99 in COBOL?

1396


Write a program to explain size error.

1239


Why would you use find and get rather than to obtain?

1259


I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?

2324