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
What are the various section in data division and briefly explain them.
IF I mention stop run in CICS what happens?
How you can characterize tables in cobol?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
What are the different types of condition in cobol and write their forms.
Discuss about changing dataset name in proc.
how do you reference the variable unblock file formats from cobol programs
Explain how to differentiate call by context by comparing it to other calls?
I have File 1 occurs 5 times with Employee-ID,Employee-Name,Employee-Dept (EEE and MECH). I have File 2 occurs 10 times with Employee-ID,Employee-Name,Employee-Dept (EEE,CIVIL,CHEMICAL and MECH). In FIle 1 and FIle 2 , for matching Employee-DEPT (Only MECH) , we need to move entire records from file1 to file 2. We should not use 2D array. Your help is needed here.
Can we redefine the field of x(200) to less than 200?
how do you reference the variable block file formats from cobol programs
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
Which division and paragraphs are mandatory for a COBOL program?
What is report-item in COBOL?
What is the default value(s) for an initialize and what keyword allows for an override of the default?