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
What is the difference between PIC 9.99 and PIC9v99?
) How do u handle errors in BMS macro
What is cobol?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
what is search and searchall?what is the diffrence between them?give an best example?
how do you define single dimensional array and multidimensional array in your cobol?
) How do u handle errors in BMS macro?
What is report-item in COBOL?
) what is the difference between AID and HANDLE AID?
What is perform what is varying?
Which Search verb is equivalent to PERFORM…VARYING?
)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
Mention the guidelines to write a structured cobol program?