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
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
What are the various section in data division and briefly explain them.
What is redefines clause in COBOL?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
A table has two indexes defined. Which one will be used by the SEARCH?
Why would you use find and get rather than to obtain?
How do you get the data to code the BMS macro?
What are the different rules of SORT operation?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
how we sort two input files based on a common column and giving one o/p file please send me the coding logic?
example for sub strings ? and refernce modifications whit output pls
Difference between cobol and cobol-ii?
Which division and paragraphs are mandatory for a COBOL program?
What guidelines should be followed to write a structured cobol prgm?
Differentiate between structured cobol programming and object-oriented cobol programming.