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 |
what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include tempary file used for sorting in assign statement?
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?
In file1 have 80 records are like d1,d2,d3......D80. File2 have 1000records are like a1d1,a1d2,a3d3.....Etc. I want matching records in file3 ? Plse tell me the matching logic???I want answer only in cobol ?Not using any tool or jcl?
) What is the use of IGNORE?
What is reference modification? What is UNION in sql and syntax? What is the difference between GDGS and VSAM? Which is prefer one? What is processing groups in endevor?
What is diff between vsam and db2?what is advantage of db2 over vsam?which is best suited one?
What is COMP-1? COMP-2?
HI THIS IS ANIL. HOW TO PASS A RECORDS OF A FILE(PS OR PDS) TO AN ARRAY?
A paragraph PARA-X is to be executed when none of the data names A, B and C have value of 1. Which of the following will achieve this ? (a) IF A NOT = 1 OR B NOT = 1 OR C NOT = 1 PERFORM PARA-X (B) IF NOT A= 1 AND B= 1 AND C = 1 PERFORM PARA-X (C) IF A NOT =1 IF NOT B = 1 OR C= 1 PERFORM PARA-X (C) IF A NOT = 1 AND B NOT = 1 AND C NOT = 1 PERFORM PARA-X
how do u list the abended jobs?
What are the different data types in cobol?
When we code these comp,comp1,comp-2,comp-3 and comp4 values. I know the differnece.I mean when we will prefer if it is new program.Explain in detail with memory examples. Thanks in advance.