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
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 |
how can i see junk values in dclgen or in hostvariable of comp ?
How do you code Cobol to access a parameter that has been defined in JCL?
how can count the number of character in feild ?? suppose for instance i have a feild with value ' rajesh sarkar' then how can v count the number of characters whitout spaces...........
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
Which of the following characters is NOT valid in column 7? a. - b. \ c. * d. # e. $
01 var1 pic s9(9)v99. 01 var2 pic x(30). procedure division. move 12345.99 to var1. move12345.99 to var2. display var1. display var2. what is the output?
Please let me know at which Scenarios we will go for STATIC call or DYNAMIC
how to transfer the file from pc to mainframe??
I have two questions here. 1. How to read a flat file in reverse order? 2. How to read a VSAM KSDS file in reverse order? In both the cases we donot know the total number of records.
When is inspect verb is used in cobol?
How to read a record from bottom of a file which is indexed by 'A'.
if a dataset is already created with fixed length but after that i want to change fixed length to variable length then how is it possible