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 / varun v
I agree with Ans # 1 also.
But I think "Inspect Tallying" is the effective one as
there is no manual calculation is required for finding the
exact length of the second variable field(CHR6 in Ans #1)
is required.
| Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
What are the various section in data division and briefly explain them.
Can you please let me know the centre name of INS certification in Kolkata.
How many sections are there in data division in COBOL?
Explain how to differentiate call by context by comparing it to other calls?
In COBOL programming, what is PERFORM? What is VARYING?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
How you can read the file from bottom?
IF I mention stop run in CICS what happens?
What are 77 levels used for?
how do you reference the esds vsam file formats from cobol programs
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
Write a program to explain size error.
Whats the difference between search & search ALL?