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
How arrays can be defined in COBOL?
Can we redefine the field of x(200) to less than 200?
How do define dynamic array in cobol.
IF I mention stop run in CICS what happens?
what are decleratives in cobol?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
What guidelines should be followed to write a structured cobol prgm?
For rewrite, why is it mandatory that file needs to be opened?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
What is the LINKAGE SECTION used in COBOL?
Difference between array and sub-script ?
What are various search techniques in cobol? Explain.
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
What is the Purpose of POINTER Phrase in STRING command in COBOL?
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