View previous topic :: View next topic
|
Author |
Message |
raghavendra_p_sarvade
New User
Joined: 17 Oct 2006 Posts: 32
|
|
|
|
Hi,
We generally give 'F' against datasets to free up unused memory.
I need to free up on all datasets with same HLQ.
For example HHHHHH.*
Is there any means to do this thru a batch JCL or thru a common TSO command?
Thanks,
Raghav |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Suggest you consider adding RLSE to the JCL that allocates these datasets rather than free the unused space later. . .
I don'tknow of any single tso command to do this wholesale. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Use the DFdss RELEASE statement. Dfdss also has excellent filtering capabilities. |
|
Back to top |
|
|
Use Net
New User
Joined: 10 Feb 2010 Posts: 8 Location: Europe
|
|
|
|
If these files are in the SMS environment, your sysprog can update the MGMTCLAS to set the value of the PARTIAL RELEASE option to YES IMMED. This sets RLSE as a default when files allocated under the MGMTCLASses you update are CLOSEd.
This is good option because you don't have to update the JCL, but it may have an improper secondary effect, for example if the MGMTCLAS you set to YES IMMED is used for DAM files, or for SAM files often used with DISP=MOD.
Nothing is perfect. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
We generally give 'F' against datasets to free up unused memory. |
Actually, you are freeing up unused disk space -- not memory. Terminology is absolutely critical to get right in IT since there are similar terms that may mean very different things. Memory is part of the processor where programs are loaded in order to run; files are stored on disk drives that are not part of the processor. Programs cannot run on disk; they must be loaded into memory first. |
|
Back to top |
|
|
|