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 |
what is the use of outrecord?
What is the maximum length of a field you can define using COMP-3 in COBOL?
What will happen if we generate GDG +2 version instead of +1 version?
What are the situations u have used in ur project for Subcript and Index ? 1.if u use Subscript why not Index,why u choose Subscript only? 2.if u use Index why not Subscript,what abt Displacement?
How to declare if emp-name = AAAAA""BBB in working-storage section. After display emp-name should print like AAAAA""BB
is this below syntax correct? CALL 'subprg' using A,B Please help
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
what happens of we dont give time stamp in precompilation process
how can we fetch 3 records in cobol pgm any coding pls ?
How to print 10 to 1 if the input have only 10 digit number?
How many divisions we have in Cobol ?
What is the maximum data length for Numeric DataType ?