Can the OCCURS clause be at the 01 level?
Answers were Sorted based on User's Feedback
Answer / sudha
occurs clause can used for 02 to 49 levels only.
| Is This Answer Correct ? | 30 Yes | 0 No |
Answer / vineet pasricha
no you cant use occurs clause on 66 77 88 01
66 is for Rename
77 is for stand alone variables
88 is for indicators
you can use occur clause on 02 - 49
| Is This Answer Correct ? | 21 Yes | 1 No |
Answer / archana
No, occurs clause can not be at 01, 66, 77 or 88 level.
| Is This Answer Correct ? | 13 Yes | 3 No |
Answer / vamsi
The OCCURS clause cannot be specified in a data description
entry that:
-->Has a level number of 01, 66, 77, or 88.
-->Describes a redefined data item.
| Is This Answer Correct ? | 6 Yes | 2 No |
Answer / ashu
no you cant use occurs clause on 01 66 77 88
66 is for Rename
77 is for stand alone variables
88 is for condition
you can use occur clause on 02 - 49
| Is This Answer Correct ? | 6 Yes | 2 No |
Answer / shriram supalwar, dharmabad
No, you can not code OCCUR clause in level no. 01
because it is used to repeat the fields with same format not
the records...
correct me if i am wrong...
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / guest
no,occurs clause can not be coded with 01 level no. occurs
clause can be coded with only 02 to 49, 66,77
| Is This Answer Correct ? | 5 Yes | 15 No |
Write the code to count the sum of n natural numbers.
What is 66 level number and where it is used in real time by software developers?
2 Answers ITC Indian Tobacco Company, TCS,
How to execute a set of JCL statements from a COBOL program?
Which is the default, TEST BEFORE or TEST AFTER for a PERFORM statement?
Explain Restart Logic in Cobol?
How do you submit JCL via a Cobol program?
What is SDSF?
In a program, there are 2 sections defined say SECTION-A and SECTION-B. There is a paragraph say CALC-INT in both the sections. If this para has to be called directly for SECTION-A, then PERFORM CALC-INT will not work as it is present in both sections. How the PERFORM statement has to be coded here?
how many bytes does s9(7)COMP-3 field occupies?
wht is load module and object module ?
01 a pic x(4) value 'abcd' 01 b pic 9(3) can we move from a to b.if possible what would be stored in b.
what is the maximum error code in mainframe