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

This works on MF-COBOL

Display WS-EX will display AAAAA

Is This Answer Correct ?    1 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1828


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

2001


How do define dynamic array in cobol. how do you define single dimensional array and multidimensional array in your cobol?

690


i want to learn mainframe..any websites and material to learn from basic..? my mail id : rajeswaribe2010@gmail.com

1756


how do you reference the printer file formats from cobol programs

643






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

645


what is s000 u4087 error? please give the all error codes in cobol,jcl.

17009


Name the sections present in data division.

691


Can you please let me know the centre name of INS certification in Kolkata.

1706


What is the Purpose of Pointer in the string?

632


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

686


What are the different types of condition in cobol and write their forms.

647


In which area will you utilize 88 level items in cobol?

703


What is comp-1 and comp-2?

751


How to print 10 to 1 if the input have only 10 digit number?

799