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 |
in a indexed file what is procedure for read the records from 12 to 18. please give the code example
What are the different ways to run a COBOL DB2 program using JCL?
How do you differentiate between cobol and cobol-ii?
Can we redefine the field of x(200) to less than 200?
Is It Possible to Update or change in VIEW Mode?
created cluster using IDCAMS ..that is empty ..when i write a program for read using Input ..wil it open the cluster or gives any error?
A table has two indexes defined. Which one will be used by the SEARCH?
What is amode(31)
plz,could any one tell me? what about EBCDIC in cobol?briefly?
how to code in cobol while using variable block file?
What is the maximum length of a field you can define using COMP-3 in COBOL?
COMP-3 field occupy ?