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
 

 

Clarification in TABLES Usage in COBOL

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

New User


Joined: 08 Jun 2007
Posts: 2
Location: chennai

PostPosted: Thu Feb 28, 2008 2:11 pm    Post subject: Clarification in TABLES Usage in COBOL
Reply with quote

Hi Friends,

Please help me out with the below mentioned code:

Is there any possiblilities to define a below table in COBOL:


01 VERIFICATION-TABLE.

05 VERIFY-CATEGORY-ENTRY OCCURS 9 TIMES.

10 VERIFY-PRDGRP-ENTRY OCCURS 1 TO 99999999

15 VERIFY-BKTS-ENTRY OCCURS 48 TIMES.

20 VERIFY-BKT PIC S9(12).

When i defined the table with this size the complier throwed an error "table exceeded the maximum supported length of 134217727 characters in
WORKING-STORAGE SECTION ".

Thanks,
Sangeetha
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Feb 28, 2008 2:35 pm    Post subject:
Reply with quote

NO

you are asking for a way to have the compiler ignore the limitations (size in this case) that are a part of a particular cobol.
Back to top
View user's profile Send private message
Sangeetha.G

New User


Joined: 08 Jun 2007
Posts: 2
Location: chennai

PostPosted: Thu Feb 28, 2008 2:41 pm    Post subject: Reply to: Clarification in TABLES Usage in COBOL
Reply with quote

Yes .

We can't able to create a table of this size.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Feb 28, 2008 9:26 pm    Post subject:
Reply with quote

Hello,

If you explain your requirement, someone may have a suggestion.

If you show your input and the desired output (rather than the intermediate array(s)), there may be alternatives.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2150
Location: At my coffee table

PostPosted: Thu Feb 28, 2008 9:48 pm    Post subject:
Reply with quote

It looks like you are limited to a max of 233016 entries or 399457 if you define VERIFY-BKT as packed.....
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 SPUFI -- Joining 3 tables – data in... Sysaron DB2 2 Wed Mar 08, 2017 4:18 am
No new posts To know activities on db2 tables ashek15 DB2 4 Fri Mar 03, 2017 11:23 pm
No new posts SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts ERM-Diagram of SysIBM-Catalog-Tables Auryn DB2 2 Fri Feb 17, 2017 6:22 pm


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