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 is the advantage of using redefines instead of delaring the variables ?
How can you get the ksds file records into your cobol program?
what is scope terminator
how do you reference the variable unblock file formats from cobol programs
i am a btech cs 2009 passout. i am opting for mainframe course. is it good to do this course? pls. anyone suggest me
I have a Main Program which is calling Sub-Program which is a DB2 pgm. What will happen if I am not closing the cursor used in the Sub-program? Please advise..
How would the number +1234 be stored if a PIC clause of PICTUREs9(4) comp-3 were used?
01 WS-NAME PIC X(10) OCCURES 2. by this we can get ws-name 2 times. My qustion is how can we access the second name
What are the pertinent COBOL
What is difference between static and dynamic call in cobol?
Q:what is the difference between the variable length and fixed lenght.how it varies in the cobol.
What is the maximum length of a field you can define using COMP-3 in COBOL?