1)what is the maximum limit for occurs?
Eg: 01 A PIC X(10) OCCURS N TIME.
What is the max value for N?
Answer Posted / harish
Hi,
maximum occurs we can use in company is 7 occurs
01 level is not used for occurs clause
N can go upto 16,711,568 i think
Harish poomgame shivappa
NIIT Technolgies
Kolkata
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What are the different types of condition in cobol and write their forms.
What is the default value(s) for an initialize and what keyword allows for an override of the default?
what is s000 u4087 error? please give the all error codes in cobol,jcl.
write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc
What is the difference between comp and comp-3?
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.
How many bytes S(8) comp field occupy and its maximum value?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
I have a File that has duplicate records. I need only those records that occur more than thrice.?
Why would you use find and get rather than to obtain?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?
Why do we code s9 (4) comp. Inspite of knowing comp-3 will occupy less space?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?
If you are current on the owner of a set, what is the difference between obtain next and obtain first?