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
Differentiate between structured cobol programming and object-oriented cobol programming.
What is cobol?
What is a SSRANGE and NOSSRANGE?
Which is not true about evaluate statement
What is redefines clause in COBOL?
Mention the guidelines to write a structured cobol program?
How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc
What are the different rules for performing sort operation?
What is the compute verb? How is it used?
Difference between array and sub-script ?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
What is rmode(any) ?
What are all the divisions of a COBOL program?