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 / naveen
You have many options.
1. Use Reference modification if you want a COBOL program.
2. INSPECT will also do.
3. Use SORT, OUTREC option, it will also work.
Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
Why occurs cannot be used in 01 level in COBOL?
Define static linking and dynamic linking.
How do you reference the following file formats from cobol programs?
what happens if parmparameter passes zero bytes to the program
Write the code to count the sum of n natural numbers.
What kind of error is trapped by on size error option?
How are the next sentence and continue different from each other?
What is the utilization of copybook in cobol?
how do you reference the esds vsam file formats from cobol programs
What happens when we move a comp-3 field to an edited (say z (9). Zz-)?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
What is amode(31)
If you are current on the owner of a set, what is the difference between an obtain next and obtain first? Actually in which topic will we use dis???Plz explain it clearly
i want a program using by if, evaluate , string, unstring, perform, occurs?
What is the local-storage section?