Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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. Cobol to fetch the content by using s... arunc55 COBOL Programming 4 Fri Nov 17, 2017 1:25 pm
No new posts Date in where clause - Windows Karthikeyan Subbarayan DB2 9 Wed Nov 15, 2017 9:07 pm
No new posts VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am
No new posts Increment number for every group of r... srajendran2 DFSORT/ICETOOL 7 Thu Nov 09, 2017 10:31 pm
No new posts COBOL - EXIT statement weird behavior anthony.pangestu COBOL Programming 0 Fri Oct 27, 2017 9:57 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us