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 to convert the recors form vsam file to db2 table tru file aid
How do you define a variable of comp-1 and comp-2?
Explain how will you differentiate between an internal and an external sort, the pros and cons, internal sort syntax etc
What is the difference between binary search and sequential search?
Can we change the password using ALTER? anyone tried and changed?
how to refer the data field?
What is the difference between structured cobol programming and object alternativelyiented cobol?
What are the different rules for performing sort operation?
What is rmode(24)
Can you please let me know the centre name of INS certification in Kolkata.
Explain what you understand by passing by value.
what is difference between cobol and cobol/400
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
Which mode is used to operate the sequential file?
How do we get current date from system with century in COBOL?