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

WORKING-STORAGE SECTION. 01 VAR1 COMP-2 VALUE 0. PROCEDURE DIVISION. MOVE 10.2115 TO VAR1. DISPLAY 'VAR1 =' VAR1. GOBACK. 10.2115 is stored as .10211499999999996E 02 in OS VS Cobol 10.2115 is stored as .10211500000000000E 02 in ecobol. Any reason why?

3 Answers   TCS,


IF there 5 to 6 files in a JCL and there is some space abends, how can we identify which file has space abend and what can be done to get off that abend or rectify that abend.

2 Answers   ADNA, CSC,


How do u write test cases?

0 Answers   IBM,


can we use the two 01 level in file discription ?

6 Answers  


Move Zeroes to I move 5 to j perform para1 varying I from 10 by -2 until I = 0 display j. para1. Add 5 to j. What’ll be the value after execution of display stmt. A) 35 B) 40 C) 30 D) 25 please explain how?

5 Answers  






perform I from 0 by 1 until I=5?How maney times it will executes

8 Answers  


Hi pls anybody tell me about " ANALYSIS DOCUMENT PREPARATION AND ESTIMATION OF TASK " (in real time project)."I want to update a sequential file in my project" for that purpose i need both structures i mean analysis document and estimation of task.

0 Answers  


What is difference between static and dynamic call in cobol?

0 Answers  


Explain the configuration section of a cobol program with examples of syntax.

0 Answers  


How is sign stored in a comp-3 field?

7 Answers  


I have a COBOL main program which is calling sub program, the number of calling parameters used in main program are 4 whereas in sub program it's 5. Sub program is passing 5 parameters back to main program Will there be any compilation error? Or main program parameters displays junk values?

1 Answers  


what is internal sort and external sort ? which is preferable ?

2 Answers   TCS,


Categories