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 / bob

Yes we can use redefine under occurs clause but we cannot
use occurs under redefine

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the LINKAGE SECTION used in COBOL?

895


what is amode(24), amode(31), rmode(24) and rmode(any)?

705


example for sub strings ? and refernce modifications whit output pls

1847


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

2725


Write down the divisions of cobol program?

672






What is the utilization of copybook in cobol?

657


Explain the configuration section of a cobol program with examples of syntax.

661


Have you used comp and comp-3 in your project? And how?

2011


What is the difference between goback, stop run and exit program in cobol?

932


How do you code cobol to access a parameter that has been defined in jcl? And do you code the parm parameter on the exec line in jcl?

703


How many bytes S(8) comp field occupy and its maximum value?

1637


How do you reference the following file formats from cobol programs?

698


how to refer the data field?

1812


What guidelines should be followed to write a structured cobol prgm?

674


What are all the divisions of a COBOL program?

667