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
What is the difference between external and global variables in COBOL?
What is the difference between comp and comp-3?
Name the sections present in data division.
What is rmode(any) ?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
What is the LINKAGE SECTION used in COBOL?
how can i see junk values in dclgen or in hostvariable of comp ?
What are different data types in cobol?
What do you understand by psb and acb?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.
i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com
What is a SSRANGE and NOSSRANGE?
What is the local-storage section?
What guidelines should be followed to write a structured cobol prgm?