On Tue, 21 Oct 2014 18:18:26 -0500, Paul Gilmartin wrote:

>I have allocated a data set with:
>
>          //  DISP=(MOD,CATLG),SPACE=(10000,(100,100))
>
>Now, I'd like to update it with:
>
>          //  DISP=SHR,SPACE=(,,RLSE)

When you say that you'd like to update it, do you mean that you'd like the RLSE 
parameter to be retained for subsequent usage as well? I'm quite sure that it 
is 
not retained, and only applies to the usage of the data set when the DD 
statement 
used to write to the data set has RLSE coded.

>I get a message on missing positional parameter.  I'd prefer not
>to override the original SPACE options.  Must I override, merely
>to add RLSE?

The JCL reference says how to do it:

<quote>
When coding RLSE for an existing data set, code the unit of measurement 
and primary quantity as they appeared in the original request. For example, 
if the original request was:
 
           SPACE=(TRK,(100,50)) 
 

 you can release unused tracks when you retrieve the data set by coding:
 
           SPACE=(TRK,(100),RLSE)
</quote>

>In:
>
>    http://pic.dhe.ibm.com/infocenter/zos/v2r1/topic/com.ibm.zos.v2r1.ieab600
>    Syntax
>    z/OS MVS JCL Reference
>    SA23-1385-00 
>
>I see:
>
>    SPACE= 
> ({TRK,}(primary-qty[,second-qty][,directory])[,RLSE][,CONTIG][,ROUND])
>           ({CYL,}            [,          ]             [,    ][,MXIG  ]
>           ({blklgth,}                                         [,ALX   ]
>           ({reclgth,}                                         [,      ]
>
>Is there a misplaced '(' there?  

I don't think so.

>I'm used to coding "SPACE=(TRK,pri,(sec,dir))"

Really? I'd be surprised if that was allowed. That's not the way you coded the 
space at the top of this. The "10000" in that space parameter is the unit for 
the 
allocation.

>but that seems to say it should be "SPACE=(TRK,(pri,sec,dir))".  Is that right?

Yes. It is.

-- 
Tom Marchant

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to