Define REDEFINE clause and Is it possible to have the
redefine clause anywhere in the working storage section for
a data name?
Answers were Sorted based on User's Feedback
Answer / selvam a
REDEFINE clause allows the said area to be referred by more
than one data name with different sizes and pictures.
Usage:
level-number data-name1 REDEFINES data-name2
Answer to the question 2:
The REDEFINES clause must immediately follow data-name1
Other Rules:
1. The level number of data-name1 and 2 must be identical.
2. date-name1 and 2 must be of same size.
3. Multiple redefinitions are allowed.
| Is This Answer Correct ? | 10 Yes | 3 No |
Answer / anju
I think redefine cannot be done for a level01 item.
| Is This Answer Correct ? | 1 Yes | 5 No |
what are decleratives in cobol?
Can we use icetool in cobol program?
In A cobol program , we can use COPY Statement in FILE- SECTION / WORKING-STORAGE SECTION / ENVIRONMENT DIVIION basically what is the difference
what happens if parmparameter passes zero bytes to the program
What is file status 92?
how to convert vsam table into DB2 table?
can any one help -s806
IDENTIFICATION DIVISION. PROGRAM-ID. MOVEPGM. DATA DIVISION. WORKING-STORAGE SECTION. 01 WS-I PIC 9(2). PROCEDURE DIVISION. A1000-MAIN-PARA. PERFORM PARA-X WITH TEST BEFORE UNTIL WS-I= 5 STOP RUN. PARA-X. DISPLAY "BEST2". I m getting error s722,while executing the program, seems getting in loop, can anybody tell me why
what is srange and nosrange pls reply to ths question ?
can we use full outer join with cursors declared in cobol program?
Have you used comp and comp-3 in your project? And how?
how do you reference the rrds file formats from cobol programs