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 / v@m$i

REDEFINES IS NOT USED IN OCCURS CLAUSE.

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the use of outrecord?

1771


Write the code implementing the perform … varying.

644


How did the release of cobol/370 version 1.3 improve the performance of release 1.1?

645


Write a program that uses move corresponding.

673


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1230






How to remove the spaces at the end of each record in the output file of variable length, via cobol program?

673


How many sections are there in data division in COBOL?

678


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

642


What are the various section in data division and briefly explain them.

698


Describe the cobol database components?

680


Whats the difference between search & search ALL?

5264


What is the difference between structured cobol programming and object alternativelyiented cobol?

753


How to know whether the module is dynamical or statistical?

652


Differentiate between structured cobol programming and object-oriented cobol programming.

667


Which is not true about evaluate statement

1572