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
What is the difference between comp and comp-3 usage?
What is the local-storage section?
) How do u handle errors in BMS macro?
How many sections are there in data division in COBOL?
What are the various section in data division and briefly explain them.
How do get the result of your program directly on your pc?
Which division and paragraphs are mandatory for a COBOL program?
how do you reference the printer file formats from cobol programs
Why would you use find and get rather than to obtain?
if we display var1 then what will b displayed in below condition. 77 var1 pic s9(2) value -10. 77 var1 pic s9(2) value -11. " " " -12. " " " -13. -14 ... ... -19.
What are the different data types in cobol?
What is a report item?
System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
Differentiate between structured cobol programming and object-oriented cobol programming.