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 are 77 levels used for?
What is length is cobol?
How did the release of cobol/370 version 1.3 improve the performance of release 1.1?
A table has two indexes defined. Which one will be used by the SEARCH?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
In COBOL, what is the different between index and subscript?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What is cobol?
Write a program to explain size error.
What are the different data types in cobol?
What is report-item in COBOL?
What is the difference between a binary search and a sequential search what are the pertinent cobol?
Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.
Define cobol?