Is this allowed?
01 WS-TABLE.
03 FILLER-X PIC X(5) VALUE 'AAAAA'.
03 WS-EX REDEFINES FILLER-X OCCURS 5 TIMES PIC X(1).
can redefines clause be used with occurs clause?
Answer Posted / ankur
Yes. Redefines just causes both the fields to be started at
the same location. We can even redifine a A(100) with B
(200) and the other way round.
Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
What kind of error is trapped by on size error option?
What is the difference between Global and External Variables?
how can i see junk values in dclgen or in hostvariable of comp ?
Define cobol?
In COBOL programming, what is PERFORM? What is VARYING?
Have you used comp and comp-3 in your project? And how?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
What is a SSRANGE and NOSSRANGE?
Discuss about changing dataset name in proc.
2 input fles: 2 flat files, with different number of records. both are having unique key for each record and already sorted in ascending order . match these files using unique key and in output only matching key value has to be written. please procide cobol logic
Write the code implementing the perform … varying.
what is the use of outrecord?
How do u write test cases?
Write down the divisions of cobol program?
What is the difference between Call and a Link?