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
This topic is locked: you cannot edit posts or make replies. Full Time COBOL Software Development ... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:24 am
This topic is locked: you cannot edit posts or make replies. COBOL Software Development Lead at Fi... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:21 am
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm


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