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 |
Difference between next and continue clause
Explain call by context by comparing it to other calls.
i friends greetings to the day...!!! I face a quation like"while runnig the programe every day i have to access the previous day updates only...!! Ex:- Let last day 100 customers took bank account i have to select those customers only.."
what is call by value and call by reference ?
3 Answers Infosys, ITC Indian Tobacco Company,
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
How do we get current date from system with century?
What is Control Break processing ?
what is the coding difference between COBOL and CICS.
Consider the below example call a-test1. -- -- -- a-test1. if a=b perform a-test through a-exit next sentence else if b=c perform c-test through c-exit. if a=d perform d-test through d-exit. a-test. -- -- a-exit. exit. can u tell me what will happen if a=b after looping into a-exit will the control go back to a- test1. will the condition a=d be checked???
what will happen if i give program name and member name as different? program runs successful or w'll abend?
The hierarchy of the execution of logical operators is (a) NOT AND OR (b) AND OR NOT (c) OR AND NOT (d) OR NOT AND
10 Answers Huawei, IBM, TCS,
input:- A 10 20 30 40 B 5 7 10 14 C 8 12 14 16.... output:- A = 100,B=36,C=50. Here spaces are considered between numbers. When we give input as above, the numbers should be added n displayed.So please help me out.