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

Have you used the sort in your project?for this type of questions any working on real time project give the eg. with real time scenario.

2058


What is the usage of comp fields in cobol?

658


how to convert the recors form vsam file to db2 table tru file aid

2763


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

1954


What type of SDLC u followed? Why?

1518






what is search and searchall?what is the diffrence between them?give an best example?

5555


What is the difference between PIC 9.99 and PIC9v99?

781


Explain about different table spaces.

648


i need a small 3d program using inline and outline.

1637


What is length is cobol?

650


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

3715


What is link edit in cobol?

772


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

1769


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

645


example for sub strings ? and refernce modifications whit output pls

1846