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


Please Help Members By Posting Answers For Below Questions

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

722


How do you define a variable of comp-1 and comp-2?

701


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

10608


What is the use of intialize verb?

746


i made it to stage 3 of an interview process wednessday they will quiz my knowledge again face to face for an analyst role recruiter said it will be based on Business requirements system is cobol and good ideas what they might ask etc

2105






Write down the divisions of cobol program?

671


What rules are followed by the search verb.

638


How do you get the data to code the BMS macro?

1476


Write a cobol program making use of the redefine clause.

731


What are the different data types in cobol?

793


What is the difference between a binary search and a sequential search what are the pertinent cobol?

735


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

689


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

699


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

1769


how to access the file from prodution from changeman tool and to submit a file to production

6684