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
Answers were Sorted based on User's Feedback
Answer / sdexcellent@yahoo.co.in
01 ws-new redifines ws pic x(3).
in level 01 only
| Is This Answer Correct ? | 7 Yes | 2 No |
Answer / 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 |
How will 128 be saved in s9 (3) comp-3 How will 12 be saved in s9 (2) comp
How many sections are there in data division?.
how we can reverse the string in the cobol for example satheesh can be reveresed as hseehtas
What is the different between index and subscript?
how to move the records from file to array table. give with code example
can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there
When can the USING phrase be included in the call statement ?
) How do u handle errors in BMS macro
How to execute a set of JCL statements from a COBOL program?
if we have " ibm mainframe ",in that how to remove first and last leading space eg:"ibm mainframe" like that the answer we need
which one is the best of com and com-3.using of real time ?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?