Hello list,

I have an application that may have to write DASD files very variable in size. 
These files are dynamically allocated as SMS managed files (using DALSTCL, 
DALMGCL and DALDACL) and with text unit DALRLSE (equivalent of the RLSE JCL 
keyword) so that unused space is released from the allocation when closing the 
file after writing it.

This works well with mono-volume data sets, but is it possible to make it work 
for multi-volume data sets too ??

After testing a bit, it looks like:
-       At the time of allocation , the primary space amount is allocated on 
EACH of the volumes if the volume count (DALVLCNT) is greater than 1.
-       At the time of CLOSE,  the unused space is released on the current 
volume (the last one that was written to). But, and this is my problem, the 
allocations on the (unused) next volume(s) if any, are NOT freed !!!

Is it possible to specify something (in SMS ?) so that it would free ALL unused 
space ?


Thanks in advance for your thoughts.



----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to