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 / arne royce tiangson
I CAN FIND THE WRITE OUTPUT.. PLEASE EXPLAIN THIS CODE
'MOVE WS-USERID-TEMP(WS-TALLY + 1 : ) TO WS-LS-USERID'
THNX
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
explain sorting techniques in cobol program?
how do you reference the ksds vsam file formats from cobol programs
How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?
What are the different rules to perform a Search?
What is the difference between perform … with test after and perform … with test before?
I need to compare 3 variables(dates) and do some processing based on the earliest date. There could be more then 1 date record in any of the 3 fields. What is the best way to code this?
Define static linking and dynamic linking.
Explain how you can characterize tables in cobol?
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 is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
For rewrite, why is it mandatory that file needs to be opened?
How can you get the ksds file records into your cobol program?
) how do u code after getting data?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
What is the difference between Call and a Link?