- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Too big Data Division causes Cobol compilation fai...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2010 10:27 PM
тАО01-28-2010 10:27 PM
Too big Data Division causes Cobol compilation failure
21718 01 WS33-BAN-LIST-SHORT-NAME .
* 16-S** ( 0)**
** Data space too large
Can any one who had faced this problem share how to handle this into code.
Thanks in advance.
- Tags:
- COBOL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2010 04:21 AM
тАО01-29-2010 04:21 AM
Re: Too big Data Division causes Cobol compilation failure
If your compiler supports 64 bit, you wouldn't have to worry?
You could process parts by using files.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-29-2010 04:58 AM
тАО01-29-2010 04:58 AM
Re: Too big Data Division causes Cobol compilation failure
Perhaps you have fields of numeric data that could be "packed" with an alternate "picture" declaration halving the storage requirement of those pieces.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2010 02:12 AM
тАО01-30-2010 02:12 AM
Re: Too big Data Division causes Cobol compilation failure
I believe you are talking about USAGE, not PICTURE? USAGE DISPLAY vs COMP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2010 06:39 AM
тАО01-30-2010 06:39 AM
Re: Too big Data Division causes Cobol compilation failure
> Dennis -> JRF: I believe you are talking about USAGE, not PICTURE? USAGE DISPLAY vs COMP
Yes, indeed I was thinking 'usage' as cited when I wrote 'picture'. Thanks.
If this is an option for Madhur, I would suggest that a re-structure of the '01' area be made to condense all DISPLAY elements into one region and all COMP ("packed") elements into another. At least on COBOL compilers I was once familiar with this eliminated "filler" nibbles for byte alignment.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2010 11:32 PM
тАО01-31-2010 11:32 PM
Re: Too big Data Division causes Cobol compilation failure
Hi Dennis & JRK,
Thanks for your responses.
Dennis:- Compiler is Microfocus and computer is 64-bits. But i did not understand the solution suggested by you. can you please elaborate. if you can give me some example, it will be great.
JRF :- Most of the elements in structure are DISPLAY with alphanumeric value. i am not sure how to do the restructure.
I am attaching the structure for your reference. i hope it will help you.
Frankly speaking i am a novice COBOL programmer. So it is bit hard for me to understand jargons of COBOL.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2010 01:03 AM
тАО02-01-2010 01:03 AM
Re: Too big Data Division causes Cobol compilation failure
Does MF COBOL allow you to create 64 bit applications?
>I did not understand the solution suggested by you. can you please elaborate.
Basically hand waving. Divide your task into parts so you don't need that large array. Process a file record by record.
>Most of the elements in structure are DISPLAY with alphanumeric value.
Right, all numeric fields are already COMP.
>I am a novice COBOL programmer.
So I have forgotten more about COBOL than you know? :-)