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 we use goto statement in inline_perform ?
In a program, there are 2 sections defined say SECTION-A and SECTION-B. There is a paragraph say CALC-INT in both the sections. If this para has to be called directly for SECTION-A, then PERFORM CALC-INT will not work as it is present in both sections. How the PERFORM statement has to be coded here?
I encountered an error when I move spaces to a numeric field?What should I do to move spaces on that field?help please.
How is sign stored in a COMP field ?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length
COBOL program to read the string ' BOMBAY' in reverse order as 'YABMOB'
How do you fetch current date in normal cobol pgm and in cobol-db2 pgm?
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.
I've one string with spaces ( I N D I A ). My question is I want remove the spaces & combine in to single string without space (INDIA).How we can write the cobol program & wich options we need to use. Please let me know.
if someone is using my file,how can i find which user id is using?
how you will define variables length in cobol.
Name some of the examples of COBOl 11?