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
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
how to move the records from file to array table. give with code example
What kind of error is trapped by on size error option?
How do you get the data to code the BMS macro?
How do we get current date from system with century in COBOL?
How are the next sentence and continue different from each other?
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
How to remove 2 duplicate records and copy only one using job control language?
What is the difference between binary search and sequential search?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
Write down the divisions of cobol program?
What is the compute verb? How is it used?
how do you reference the fixed unblock file formats from cobol programs
What is difference between static and dynamic call in cobol?
how do you define single dimensional array and multidimensional array in your cobol?