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 ALPHABETIC check in COBOL vidyaa COBOL Programming 8 Thu Aug 17, 2017 7:13 pm
No new posts Profile changed to NUMBER ON STD (fro... Martylin TSO/ISPF 1 Thu Aug 03, 2017 9:14 am
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm


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