Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Free space not released while using dataclass

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Sam_nura

New User


Joined: 04 Dec 2008
Posts: 46
Location: Bangalore

PostPosted: Wed Aug 19, 2009 9:37 pm    Post subject: Free space not released while using dataclass
Reply with quote

Hi,
I have one job. it will randomly allocate the dataset & write some data according to user inputs. if the input is none then also it should allocate the datasets. This is my requirement. So i used the dataclass to create the datasets. It is allocating all datasets. But if any dataset is empty then it is not releasing the free space. please guide me to resolve this issue. Below are the parameter i have used for dataclass creation.

Recfm . . . . . . . . . : VB
Lrecl . . . . . . . . . :
Space Avgrec . . . . . . : M
Avg Value . . . . : 1
Primary . . . . . : 100
Secondary . . . . : 200
Directory . . . . :
Retpd Or Expdt . . . . . :
Volume Count . . . . . . : 5
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: Wed Aug 19, 2009 10:02 pm    Post subject:
Reply with quote

Hello,

Suggest you try an experiment and make sure an end-of-file is written in the new file(s).
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: Thu Aug 20, 2009 12:34 pm    Post subject:
Reply with quote

I agree with Dick. But why do you need a DATACLAS to do this, could it not be accomplished in the JCL just as easily.

I am not a great believer in the DATACLAS concept of SMS, as it has caused a few problems for me in the past, so tend to setup a very basic default DATACLAS, and only if there is no other way will define others.
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Released Init 0 Yolanda Harvey All Other Mainframe Topics 13 Thu Aug 11, 2016 8:51 pm
No new posts Free FILE not working for specific users sankalp-goyal CLIST & REXX 12 Mon Apr 25, 2016 6:33 pm
No new posts Difference space showed for TS and it... autobox DB2 1 Thu Apr 14, 2016 1:07 pm
No new posts How to find Table-space and Index-spa... venksiv DB2 5 Wed Feb 03, 2016 6:16 pm
No new posts VTS and space BobGilbert All Other Mainframe Topics 2 Mon Jan 11, 2016 5:08 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us