can you declare redefine in level 01?
Answers were Sorted based on User's Feedback
Answer / sharath
Its a YES. Defenitely you can have redefines on 01.
Is This Answer Correct ? | 25 Yes | 0 No |
Answer / veena (ibm)
Redefines can be used for 01 level in working storage
section but not for 01 level in file section.
Other rules for redefines:
redefines cannot be used for 66 and 88 levels.
redefined vars level number must be same as the original
var.
Is This Answer Correct ? | 11 Yes | 0 No |
Answer / sowmya
we should redefine in 01 level for group levels.
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / ravi
yes we can redefine the 01 level provided dataname1 and
dataname2 must be of same size. <--- Its only when we are
redeifneing the 01 level
but if we are defining the other levels than dataname 1 and
datanem2 can be of differnet size.
Is This Answer Correct ? | 2 Yes | 2 No |
Answer / karthik .k
yes..its possible.. but when we r declare redefine function in 01 level ,the data name-1 and data name-2 must be the same size..
Is This Answer Correct ? | 1 Yes | 6 No |
I am sending values a and b with pic x(10) and pic x(10) by using call statement. In linkage section, I am receiving values with pic x(10) and pic x(11). Will my program fail? will it be compile error or run time abend?
What is Comm?
2 Answers IBM, Kemper Corporation,
how to transfer the file from pc to mainframe??
Why occurs can not be used in 01 level ?
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
how we rectify soc7 and soc4 errors in project?
I have a variable account-number declared as comp-3, s9(10) comp-3 in a file. How do i find a particular account number say 123456 in that file?
WHY LRECL NEEDS TO BE 4 EXTRA THEN THE COBOL FILE LENGTH & WHAT IT CONTAIN IN THAT LENGTH
1)what is the maximum limit for occurs? Eg: 01 A PIC X(10) OCCURS N TIME. What is the max value for N?
What is an index for tables?
There are 5 fields and 1000 records in a file. Unload it into an array. Write the syntax for declaration and how will you unload it.
What is tne need to use sub programs in Cobol?