OCCURS clause is used in the DATA DIVISION on data names at
(a) 01 level
(b) 77 level
(c) 88 level
(d) any level from 02 to 49
Answers were Sorted based on User's Feedback
Answer is D:
Occurs Clause is used from 02 - 49 Levels. But Some
Compliers are accepted in 01 Level also
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / prabhu shankar
the correct answer is d)
77 for Picture Clause
88 for redefine
66 for renames
01 is the starting levels for cobol.
Is This Answer Correct ? | 4 Yes | 6 No |
What are the different rules to perform a Search?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
I have a cobol program with a sub program. How ca i find that it is a dynamic call? or static call..?
What are different file OPEN modes available in COBOL?
I want ALL jcl ERROR cods
How to open and see copy book ?
01 var1 pic s9(9)v99. 01 var2 pic x(30). procedure division. move 12345.99 to var1. move12345.99 to var2. display var1. display var2. what is the output?
study the data discriptions and answer the questions given below i)01 ORDER RECORD 05 OUT-HEADER PIC X(50) 05 ITEM-COUNT PIC 99 05 OUT-ITEM PIC X(20) OCCURS 1 TO 20 DEPENDING ON ITEM-COUNT ii)01 NAME-AND-ADDRESS 05 N-AND-A-LINE OCCURES 5 05 LINE-LENGTH PIC P9 05 N-AND-A-CHAR PIC X OCCURS 1 TO 20 DEPENDING ON LINE-LENGTH iii)01 SALES-LIST 05 SALESMAN-COUNT PIC 99 05 SALES PIC 9(6) OCCURS 1 TO 100 DEPENDING ON SALESMAN-COUNT iv)01 ORDER-RECORD 05 NO-OF-BRANDS PIC 99 05 BRAND-PURCHASED OCCURS 1 TO 15 DEPENDING ON NO-OF-BRANDS which of the following is true? a.i) and iii) are valid b.i) and iv) are valid c.i) and iii) are not valid d.all are valid
) How do u handle errors in BMS macro?
What is the difference between CALL BY VALUE and CALL BY CONTENT?
Why we are using comp and comp-3 in real time projects?
what are decleratives in cobol?