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 / jyothi
77 for independent data names
88 for conditional codes
66 for renames
correct answer for the above question is "any level from 02
to 49"
| Is This Answer Correct ? | 17 Yes | 0 No |
Answer / arun karthik
ANSWER: D
OCCURS CANNOT APPEAR ON LEVELS 01,66,77 AND 88.
| Is This Answer Correct ? | 16 Yes | 1 No |
Answer / sreenadh, margadarsi computers
d is correct answer, because occurs clause can not be used
for 01 and 77, 88 levels
| Is This Answer Correct ? | 13 Yes | 1 No |
Answer / s.nilofer rahi
Occurs clause is used in the DATA DIVISION on data names at
any level from 02 to 49. (d) is the appropriate answer.
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / bazghah
Occur clause is used for 02 to 49 level (d) is true answer
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / sriharsha
d is the right answer as Occurs cannont be used for 01, 77
& 88 levels.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / yogesh
Occurs clause can be coded only in the levels between 02 to
49
| Is This Answer Correct ? | 0 Yes | 0 No |
Can a REDEFINES clause be used along with an OCCURS clause? if yes, 01 WS-TABLE. 03 WS-TABLE-EL OCCURS 5 TIMES PIC X(1) VALUE 'A'. 03 WS-EX REDEFINES WS-TABLE-EL PIC X(5). What can you expect? if no,why?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into cobol program?
how to know that the file has 300 records how to acess it?
Explain the difference between an internal and an external sort, the pros and cons, internal sort syntax etc.
What is the size of s9(19)comp3? explain
What is the difference between a binary search and a sequential search?
01 var1 pic x(10) 01 var2 redefines var1 pic 9(10). then in procedure division move 'abcde' to var1 then waht is the value of var1 and var2
File status must be checked both while opening and reading the file or only while reading the file?
How to define a array dynamically.....
what happens if we wont give timestamp in precompilation process ?
INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?
What is normalisation?