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
Answer Posted / sriharsha
d is the right answer as Occurs cannont be used for 01, 77
& 88 levels.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
I have to write to a outfile where the number of records in that file should be the header of that file using IMS.. can anyone help me in this issue
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
What is the Purpose of Pointer in the string?
Write some characteristics of cobol as means of business language.
What are the pertinent COBOL commands?
What are declaratives and what are their uses in cobol?
What is the difference between PIC 9.99 and 9v99 in COBOL?
When is inspect verb is used in cobol?
What is the difference between binary search and sequential search?
please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?
I have one ps file in which there are 3 fileds emp_no,emp_name and leave_app.this ps file information give the detail of employee which is going to apply for leave.suppose emp_no=113430,emp_name=ajay,leave_app=1 that means he is going to apply for 1 day leave.and accordingling the table in db2 will be updated means if he has that no of leave in his account then he will get dat leave and updated acc. in table(leave_balance=previous leave present in table-leave_app).Now i want to check whther the updated result is correct or not by comparing the two ps file using IEBCOMPARE or icetool so what is going to be the two ps file and how its is going to be compare.
Explain how to differentiate call by context by comparing it to other calls?
What is the default value(s) for an initialize and what keyword allows for an override of the default?
Write a program to explain size error.
What kind of error is trapped by on size error option?