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

How to free up memory unused by cataloged datasets thru JCL?


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
raghavendra_p_sarvade

New User


Joined: 17 Oct 2006
Posts: 32

PostPosted: Sat Feb 13, 2010 9:05 am
Reply with quote

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
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Feb 13, 2010 9:47 am
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sat Feb 13, 2010 2:01 pm
Reply with quote

Use the DFdss RELEASE statement. Dfdss also has excellent filtering capabilities.
Back to top
View user's profile Send private message
Use Net

New User


Joined: 10 Feb 2010
Posts: 8
Location: Europe

PostPosted: Sat Feb 13, 2010 7:27 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Sat Feb 13, 2010 8:28 pm
Reply with quote

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
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Merging 2 datasets into one DFSORT/ICETOOL 1
No new posts PL/I, VB Datasets and the RDW PL/I & Assembler 4
No new posts Identify unused (junk) REXX scripts TSO/ISPF 30
No new posts how to get list of all VSAM/non-VSAM ... JCL & VSAM 13
Search our Forums:

Back to Top