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 ? | 1 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 |
How can we increase the size of an existing PDS to include more no. of modules. I tried the answer posted by Jagan(TSO PDS 'pds name') but did not find it working. The answer posted by kamal i know very well. Please suggest me a answer so that we don't need to delete the existing PDS and still we can change the size as well.
How to increase the logical record length of existing PS file?
subscript and index r not coded in u r application program what will happen?
What is the difference between comp and comp-3 usage? Explain other COBOL usage?s.
what is the use of outrecord?
what is level 66 means??
HI THIS IS ANIL. HOW TO PASS A RECORDS OF A FILE(PS OR PDS) TO AN ARRAY?
what are the steps to sort in a cobol program?
what is redefines? where it can be effectively use for the purpose of memory utilization? give an example?
What is the Importance of GLOBAL clause According to new standards of COBOL?
What is the mode in which you will OPEN a file for writing?
01 ws-p pic 9(2). 01 ws-q pic 9(2) value 01. 01 ws-r pic 9(2) value 99. p.d. compute p = q + r what will be result of p ans(00) but my question is that how i got 10 on the place of 00. (truncation will ocuure on right side not left). please tell me ?