Can the OCCURS clause be at the 01 level?

Answers were Sorted based on User's Feedback



Can the OCCURS clause be at the 01 level?..

Answer / sudha

occurs clause can used for 02 to 49 levels only.

Is This Answer Correct ?    30 Yes 0 No

Can the OCCURS clause be at the 01 level?..

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

Can the OCCURS clause be at the 01 level?..

Answer / archana

No, occurs clause can not be at 01, 66, 77 or 88 level.

Is This Answer Correct ?    13 Yes 3 No

Can the OCCURS clause be at the 01 level?..

Answer / sanjudharan

no

Is This Answer Correct ?    9 Yes 4 No

Can the OCCURS clause be at the 01 level?..

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

Can the OCCURS clause be at the 01 level?..

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

Can the OCCURS clause be at the 01 level?..

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

Can the OCCURS clause be at the 01 level?..

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

Post New Answer

More COBOL Interview Questions

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.

10 Answers  


How to increase the logical record length of existing PS file?

7 Answers  


subscript and index r not coded in u r application program what will happen?

2 Answers  


What is the difference between comp and comp-3 usage? Explain other COBOL usage?s.

3 Answers   IBM, Xansa,


what is the use of outrecord?

0 Answers  






what is level 66 means??

7 Answers  


HI THIS IS ANIL. HOW TO PASS A RECORDS OF A FILE(PS OR PDS) TO AN ARRAY?

2 Answers  


what are the steps to sort in a cobol program?

2 Answers   Patni,


what is redefines? where it can be effectively use for the purpose of memory utilization? give an example?

4 Answers   IBM,


What is the Importance of GLOBAL clause According to new standards of COBOL?

2 Answers   Infosys,


What is the mode in which you will OPEN a file for writing?

4 Answers  


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 ?

6 Answers   L&T,


Categories