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 / xyz
USe the Inspect Clause , get the number of the leading
spaces in the Count variable. Use the reference move then.
| Is This Answer Correct ? | 32 Yes | 5 No |
Post New Answer View All Answers
Explain the configuration section of a cobol program with examples of syntax.
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
Which is not true about evaluate statement
How do you get the data to code the BMS macro?
What is an in line perform? When would you use it? Anything else you wish to say about it.
What are all the divisions of a COBOL program?
What is the problem of ordered sequential files access?
What are the different rules of SORT operation?
Define static linking and dynamic linking.
How to know whether the module is dynamical or statistical?
What are different data types in cobol?
what is search and searchall?what is the diffrence between them?give an best example?
Explain what you understand by passing by value.
How do you differentiate between cobol and cobol-ii?
A table has two indexes defined. Which one will be used by the SEARCH?