Is this allowed?

01 WS-TABLE.

03 FILLER-X PIC X(5) VALUE 'AAAAA'.

03 WS-EX REDEFINES FILLER-X OCCURS 5 TIMES PIC X(1).

can redefines clause be used with occurs clause?

Answer Posted / bob

Yes we can use redefine under occurs clause but we cannot
use occurs under redefine

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is not true about evaluate statement

1574


I have a File that has duplicate records. I need only those records that occur more than thrice.?

8652


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

5558


What do you understand by psb and acb?

661


What are various search techniques in cobol? Explain.

647






which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1022


i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?

896


input= ,,,, mainframe training ,,, hyderabad .... location.... output1=$ mainframe training in hyderabad location$ output2=**** mainframe training in hyderabad location ****. In this pgn when we give input considering the spaces the output is displayed in this format.Like in the place of ,,,, $ should be displayed likewise.So please helpmeout.

1783


What is the local-storage section?

681


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

421


example for sub strings ? and refernce modifications whit output pls

1846


How do we get current date from system with century in COBOL?

805


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

811


In COBOL programming, what is PERFORM? What is VARYING?

670


how do you reference the fixed unblock file formats from cobol programs

712