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

Free space not released while using dataclass


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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

Moderator Emeritus


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

PostPosted: Wed Aug 19, 2009 10:02 pm
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: 8797
Location: Welsh Wales

PostPosted: Thu Aug 20, 2009 12:34 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Merge 2 lines based on Space from a S... DFSORT/ICETOOL 5
No new posts Allocated space calculation from DCOL... PL/I & Assembler 3
No new posts split a name based on space in ASM PL/I & Assembler 9
No new posts Adding space to a dataset - getting D37 ABENDS & Debugging 10
Search our Forums:

Back to Top