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 |
can we use COPY statement in w-s section? how?
How To Separate The Numerics From An Alphanumric Data Item Which Contains Both Alphabates And Numerics ?
01 a pic 9(9v99) 01 b pic 9(9.99) wht will be the stored vales in both cases
How will 128 be saved in s9 (3) comp-3 How will 12 be saved in s9 (2) comp
BY seeing a program how can we say that it is static call or dynamic call
how do you reference the fixed unblock file formats from cobol programs
In an EVALUTE statement is the order of the WHEN clauses significant?
Can we use goto statement in inline_perform ?
i have a variable block which is used in my cobol program as input file having records of 4080 after compilation while runing the program im getiing file attribut mismatch and it is saying tht the record length of the file is 4084 can any one knw the answer how to reslove it ?
can we read records in a file from botom to top. if possible how can we read
In COBOL CALL-CALLING,if a program A is calling 3 sub- programs, dynamically, then it is said sub-programs will always will always in Initial Mode. My question is : Do we need to code CANCEL or (IS INITIAL) for dynamically called sub-programs or it is the property of Dynamically called pgms so every time sub-pgms are called they will be in initial mode. ***This question is only Dynamic call****, Please reply. Thank you in advance.
What are the differences between OS VS COBOL and VS COBOL II?