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
 
How to free up memory unused by cataloged datasets thru JCL?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: How to free up memory unused by cataloged datasets thru JCL?
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

Site Director


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

PostPosted: Sat Feb 13, 2010 9:47 am    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Sat Feb 13, 2010 2:01 pm    Post subject:
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    Post subject:
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: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Sat Feb 13, 2010 8:28 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm
No new posts DUMP DATASETS VS TRACE DATASETS! lind sh CICS 4 Tue Dec 06, 2016 11:31 pm
No new posts Single COPY CICS TS datasets and when... Kyle Carroll CICS 2 Tue Oct 11, 2016 9:47 pm

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