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 |
How do you fetch current date in normal cobol pgm and in cobol-db2 pgm?
What is file status 39 ?
what is the difference between occurs and occurs depending on? i dont think so there is the difference in storage..then why we should use occurs depending on?
whats the difference between search and search all?
Write down the divisions of cobol program?
why occurs clause not mentioned in 01 level
6 Answers HCL, NIIT, TCS, Tesco,
Which Search verb is equivalent to PERFORM…VARYING?
Can you REWRITE a record in an ESDS file? Can you DELETE a record from it?
6 Answers ABC, IBM, Mphasis, Wipro,
What is EIBCALEN? Why it is used?
In a program, variables are used but no DB2 involved in it. Can you call it as host variables??
What is a subscript ?
How would the number +1234 be stored if a PIC clause of PICTUREs9(4) comp-3 were used?