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
 
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: 6968
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
This topic is locked: you cannot edit posts or make replies. Extract all "IF" Statements... Adarsh Damodaran CLIST & REXX 1 Wed Sep 06, 2017 9:28 am
No new posts ALPHABETIC check in COBOL vidyaa COBOL Programming 8 Thu Aug 17, 2017 7:13 pm
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts Identify top 30 big tables or indexes... ashek15 DB2 0 Fri Jun 16, 2017 10:01 am
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm

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