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
Yes, We Can.
In this question, When we display WS-EX we will get the
answer 5 times A. Like this AAAAA .
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What are the different open modes available in cobol?
how do you reference the printer file formats from cobol programs
How do you reference the fixed block file formats from cobol programs
How many sections are there in data division in COBOL?
What kind of error is trapped by on size error option?
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
What are 77 levels used for?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
What is the difference between Global and External Variables?
How can you get the ksds file records into your cobol program?
What are the different data types in cobol?
HOw can I get the negative sign while deduct high value from low value
What is the difference between comp and comp-3 usage?
What is the difference between external and global variables in COBOL?
What is the compute verb? How is it used?