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 use of outrecord?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?
Write a program to explain size error.
How do define dynamic array in cobol.
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
What is difference between static and dynamic call in cobol?
What is amode(24)?
What are the different types of condition in cobol and write their forms.
Give some examples of command terminators?
How do we get current date from system with century in COBOL?
how do you reference the fixed unblock file formats from cobol programs
What is the difference between Call and a Link?
How do you reference the fixed block file formats from cobol programs
What is comp-1 and comp-2?