why occurs clause not mentioned in 01 level
Answer Posted / som
BECAUSE IF WE DEFINE THE OCCURS CLAUSE AT 01 LEVEL THEN IT
BREAK THE BASIC RULE OF LANGUAGE DECLARTION OF SAME NAME
VARIABLE MORE THEN ONE TIME.E.G
01 NAME PIC XX OCCURS 2 TIMES. MEANS ACTUAL DECLARTION WILL
LIKE THIS
01 NAME PIC XX.
01 NAME PIC XX.
THATS WHY IT IS NOT USED AT 01 LEVEL
| Is This Answer Correct ? | 6 Yes | 9 No |
Post New Answer View All Answers
What are 77 levels used for?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
what is the use of outrecord?
What is a scope terminator give example?
What is the Purpose of POINTER Phrase in STRING command in COBOL?
Why occurs cannot be used in 01 level in COBOL?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
i want a program using by if, evaluate , string, unstring, perform, occurs?
I have a File that has duplicate records. I need only those records that occur more than thrice.?
Give some examples of command terminators?
How do u write test cases?
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
What is inspect in cobol ?