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
 
VB record format ? space saving challenge

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

New User


Joined: 15 May 2006
Posts: 2

PostPosted: Mon May 15, 2006 7:19 pm    Post subject: VB record format ? space saving challenge
Reply with quote

Hi,
We use VB record format to process huge files. Record lengths vary from about 400 to 4000.
There is a fixed area of 100 bytes and remaining are variable and its length is indicated by a length field.
The file layout has multiple arrays. However, the arrays is populated only 1/3rd in most cases.

Is there any way to save the unused array space?. Currently what we did is ?placed the largest size array at the end of the record and write out only the actual array. This saves the unused space of the last array but other ?interior? arrays are still wasting space.

Thanks for the help in advance.
Back to top
View user's profile Send private message

DavidatK

Active Member


Joined: 22 Nov 2005
Posts: 700
Location: Troy, Michigan USA

PostPosted: Tue May 16, 2006 2:09 am    Post subject: Re: VB record format ? space saving challenge
Reply with quote

rmano,

Does the file need to be read directly? or are you willing to use a subroutine to read/expand and compress/write the file, where the compressed file would not be easily read by say, FILEAID?

How much space, on an average do you expect to save per record?

Dave
Back to top
View user's profile Send private message
rmano

New User


Joined: 15 May 2006
Posts: 2

PostPosted: Tue May 16, 2006 7:43 am    Post subject: Re: VB record format ? space saving challenge
Reply with quote

Dave,
Thanks.
Fileaid is heavily used here.
Any space saving will be good.
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 Sum the fields in particular format f... sharana64 DFSORT/ICETOOL 9 Fri Jan 05, 2018 1:11 am
No new posts query to fetch record which has only ... maxsubrat DB2 12 Mon Dec 11, 2017 5:03 pm
No new posts Extract record for change in combinat... Trinadh DFSORT/ICETOOL 6 Thu Nov 23, 2017 3:32 pm
No new posts Extract Record using range of Data scorp_rahul23 DFSORT/ICETOOL 3 Wed Nov 15, 2017 11:54 pm
No new posts Squeeze record left so that zeroes ar... Vignesh Sid SYNCSORT 5 Fri Nov 10, 2017 1:40 pm

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