View previous topic :: View next topic
|
Author |
Message |
Sam_nura
New User
Joined: 04 Dec 2008 Posts: 46 Location: Bangalore
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Suggest you try an experiment and make sure an end-of-file is written in the new file(s). |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
|