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

Answers were Sorted based on User's Feedback



how to remove leading spaces and zeroes in a cobol variable.is there any easy way to do it ..

Answer / s.p.reddy

By using edit character Z in PIC clause we can remove
leading zeros

Is This Answer Correct ?    11 Yes 3 No

how to remove leading spaces and zeroes in a cobol variable.is there any easy way to do it ..

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

More COBOL Interview Questions

What do you do to resolve SOC-7 error?

2 Answers   Sun Life, Wipro,


How many times the loop runs here 01 a pic 9(2) value 10. perform para1 a times stop run. para1: move 20 to a.

3 Answers  


what is meant by binary search?

4 Answers  


have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records...

2 Answers   ITC Indian Tobacco Company, PNP, TCS,


what is sort? whis is internal & external sort ?when do u go for inter sort & external sort? tell about some sort utilites?

2 Answers   BirlaSoft,


how to transfer the file from pc to mainframe??

2 Answers  


i am a btech cs 2009 passout. i am opting for mainframe course. is it good to do this course? pls. anyone suggest me

4 Answers  


if you give cylinder(1,1)how many cylinders it will be allocate?

3 Answers   Hewitt,


what are the steps to sort in a cobol program?

2 Answers   Patni,


I have the file which is having the extension no as records. sample file will look like below. 2310 3410 3256 4350 3781 5408 I need to replace the record which is starting with 3 to 5 (i.e) 3410 to 5410. How can we do it through cobol and cobol-db2 program? I need the possible logic?

5 Answers   RBS,


What are various search techniques in cobol? Explain.

0 Answers  


maximum of how many screens we can open in emulator

2 Answers  


Categories