The below is the declaration for a variable ws
01 ws pic 9(3).
if you want to insert space how will you do that.
in which level u should do it
Answer Posted / praveen bejjanki
The Question itself is not clear for me,
My understanding is to Insert space in the variable WS.
Then use move stmt as follows
Move space/spaces to WS.
Correct me if i'm wrong.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
how can we apply for HSBC exam(Mainframe) in India??? i went to their site and was told to submit my CV ,. etc..( totally confusing...)
what is search and searchall?what is the diffrence between them?give an best example?
Write down the divisions of cobol program?
What are the different open modes available in cobol?
What is the compute verb? How is it used?
how to convert the recors form vsam file to db2 table tru file aid
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What is the difference between Global and External Variables?
A table has two indexes defined. Which one will be used by the SEARCH?
How do u write test cases?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
Name the divisions, which are available in a cobol program?