Can a REDEFINES clause be used along with an OCCURS clause?
if yes,
01 WS-TABLE.
03 WS-TABLE-EL OCCURS 5 TIMES PIC X(1) VALUE 'A'.
03 WS-EX REDEFINES WS-TABLE-EL PIC X(5). What can you
expect?
if no,why?
Answer Posted / vikas sharma
This clause work as when u have define this another 01 level..
We can not define like this...
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is redefines clause in COBOL?
how can i see junk values in dclgen or in hostvariable of comp ?
What are all the divisions of a COBOL program?
How to print 10 to 1 if the input have only 10 digit number?
How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)
What is link edit in cobol?
Why is it necessary that file needs to be opened in I-O mode for REWRITE?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
Why occurs cannot be used in 01 level in COBOL?
how to convert the recors form vsam file to db2 table tru file aid
What is the difference between perform … with test after and perform … with test before?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
Difference between array and sub-script ?
What is the difference between structured cobol programming and object alternativelyiented cobol programming?
How to use the same COBOL program in Batch and CICS on lines? explain with an example