Define REDEFINE clause and Is it possible to have the
redefine clause anywhere in the working storage section for
a data name?
Answer Posted / 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 |
Post New Answer View All Answers
Write a program to enter and display the names of students in a class using the occurs clause.
Explain how you can characterize tables in cobol?
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
Write a program to explain size error.
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
Write a cobol program making use of the redefine clause.
What is comp-1 and comp-2?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
Give some examples of command terminators?
how do you reference the esds vsam file formats from cobol programs
here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?
can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech
What is length is cobol?
What is cobol?
Can we change the password using ALTER? anyone tried and changed?