IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Facing Space issue for a PS file


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Sat Mar 17, 2012 1:07 am
Reply with quote

Thanks again for the feedback. Nice to see one thread come to a conclusion with some thoroughness thrown in. Hopefully the next one along will find this before they do their coding...
Back to top
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 580
Location: London

PostPosted: Wed Mar 21, 2012 8:40 pm
Reply with quote

Seems like a rediculously inefficient process from what I can understand, as a non-programmer. Why don't you read the whole file in and create one output CSV file with all the records in it and then upload and post process that to generate the separate excels on a PC somewhere. Even then it seems strange to be generating <hundreds?> of separate excel spreadsheets. Why can't you add to an existing spreadsheet for each existing customer?

The result of the space release and use of extents is perfectly reasonable given the nonsense way it is being used. You're allocating in cylinders, so initial allocation is 100cyls, but on file close is released to the nearest cylinder. Next output to the file will then add to that existing cylinder and so on until it fills up, after which another 100cyls secondary is allocated and used the same way until full. Repeat that until you have taken all possible 16 extents on the volume, then waste time on this forum.

Just remove the RLSE and let DFHSM or whatever you use to release the space later.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top