Give some advantages of REDEFINES clause?
Answers were Sorted based on User's Feedback
Answer / mahathiaz
1. You can REDEFINE a Variable from one PICTURE class to
another PICTURE class by using the same memory
location.
2. By REDEFINES we can INITIALISE the variable in
WORKING-STORAGE Section itself.
3. We can REDEFINE a Single Variable into so many sub
variables. (This facility is very useful in solving Y2000
Problem.)
| Is This Answer Correct ? | 23 Yes | 1 No |
COMP?
I have files that contains both duplicates files(occur more than twice) and non-duplicate files.The file is already sorted by a key.I want to determine those records that are duplicate and will be move to a duplicate file and non- duplicate files to be move to a valid file.thank you.help please
period is missing in the cobol program which error we getting
01 a pic s9(5) occupies how many bytes ?
how to convert vsam table into DB2 table?
How many times the loop runs here 01 a pic 9(2) value 1. perform para1 until a=10 move 1 to a. stop run. para1: move 10 to a.
How many maximum number of procedures can we write in one COBOL program?
what is record label is empty or standard in file description of data division?
How can you display the SPOOL information ?
u have passed sme charecters thru parm parameter in jcl. how do u code in cobol to recieve the values u gave in parm ?
What does the initialize statement do ?
What is the difference between PIC 9.99 and 9v99?