Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

max number of occurs clause can u used in VS COBOL II

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
meetsrk

New User


Joined: 13 Jun 2004
Posts: 85

PostPosted: Fri Aug 20, 2004 3:10 pm    Post subject: max number of occurs clause can u used in VS COBOL II
Reply with quote

what is the max. number OF occurs clause can u used in VS COBOL II, VS COBOL I and COBOL 75 ?

i.e
Code:
 
01 A.
    02 B PIC X OCCURS 2 TIMES.
       03 C PIC X OCCURS 2 TIMES.
           04 D PIC X OCCURS 2 TIMES.
                  ..............................
                         ..............................
                                ..............................
Back to top
View user's profile Send private message

sudha

New User


Joined: 16 Aug 2004
Posts: 7

PostPosted: Fri Aug 20, 2004 9:32 pm    Post subject: occurs
Reply with quote

maximum size of occurs class is 7 in vs cobol II
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Aug 22, 2004 3:48 am    Post subject:
Reply with quote

According to the link below, the max # of ODOs is 7. The max OCCURS levels is 16,777,215. Then it says: max OCCURS integer is 4,194,303.

Have fun. icon_rolleyes.gif

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY3MG10/APPENDIX1.7?DT=20020924162905
Back to top
View user's profile Send private message
badri

New User


Joined: 03 Sep 2004
Posts: 9

PostPosted: Fri Sep 03, 2004 2:34 pm    Post subject:
Reply with quote

maxcc=8
"OCCURS" nesting exceeded 7 levels. Only the first 7 levels. Only the first 7 levels were accepted.

when i tried for nesting occurs more than 7 levels above error is displayed.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts RULES(NOEVENPACK) in cobol jackzhang75 COBOL Programming 5 Wed Mar 29, 2017 12:47 am
No new posts what is meaning of the number in dcl Martylin PL/I & Assembler 2 Thu Mar 09, 2017 7:18 am
No new posts Extract set of records matching on ac... bhaskar_kanteti DFSORT/ICETOOL 3 Mon Mar 06, 2017 7:19 am
No new posts GDG version number PANDU1 JCL & VSAM 4 Sat Mar 04, 2017 8:28 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us