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


Please Help Members By Posting Answers For Below Questions

What is perform what is varying?

805


example for sub strings ? and refernce modifications whit output pls

1948


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

897


How many sections are there in data division in COBOL?

793


how to convert the recors form vsam file to db2 table tru file aid

2853






What is amode(31)

807


What is the use of intialize verb?

861


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

834


i want a program using by if, evaluate , string, unstring, perform, occurs?

4190


Mention the guidelines to write a structured cobol program?

704


What is the difference between next sentence and continue in cobol programing language?

823


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?

982


What is the difference between binary search and sequential search?

731


how can i see junk values in dclgen or in hostvariable of comp ?

2636


What do you understand by psb and acb?

752