Re: Specify RLSE but omit SPACE values?

2014-10-22 Thread Tom Marchant
On Tue, 21 Oct 2014 18:18:26 -0500, Paul Gilmartin wrote:

>I have allocated a data set with:
>
>  //  DISP=(MOD,CATLG),SPACE=(1,(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:


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)


>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 "1" 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


AW: Specify RLSE but omit SPACE values?

2014-10-22 Thread Peter Hunkeler
> Is there a misplaced '(' there?  I'm used to coding 
> "SPACE=(TRK,pri,(sec,dir))" but that seems to say it should be 
> "SPACE=(TRK,(pri,sec,dir))".  Is that right?
I trust that this has worked for you, since you say so. I never tried it that 
way. It still surprised me that this should work.

I haven't looked up SPACE parameter's syntax in decades, but for me, the second 
subparameter always was primary, optionally secondary, and directory if needed, 
all enclosed in paranthesis. The third subparameter is the optional "keyword" 
RLSE.

--
Peter Hunkeler





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


Re: Specify RLSE but omit SPACE values?

2014-10-21 Thread Lizette Koehler
You can use ISPF 3.4 with the data set listed and issue Z or F - Depending on 
what you want to do.

Lizette


> -Original Message-
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
> Behalf Of Paul Gilmartin
> Sent: Tuesday, October 21, 2014 4:18 PM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: Specify RLSE but omit SPACE values?
> 
> I have allocated a data set with:
> 
>   //  DISP=(MOD,CATLG),SPACE=(1,(100,100))
> 
> Now, I'd like to update it with:
> 
>   //  DISP=SHR,SPACE=(,,RLSE)
> 
> 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?
> 
> Hmmm.  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'm used to coding 
> "SPACE=(TRK,pri,(sec,dir))"
> but that seems to say it should be "SPACE=(TRK,(pri,sec,dir))".  Is that 
> right?
> And the optional "[...]" don't seem to be nested right.
> 
> Could be a fun RCF.  I hope they don't just say, "Ignore the diagram; rely on 
> the
> prose."
> 
> -- gil
> 

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


Re: Specify RLSE but omit SPACE values?

2014-10-21 Thread Steve Comstock

On 10/21/2014 5:18 PM, Paul Gilmartin wrote:

I have allocated a data set with:

   //  DISP=(MOD,CATLG),SPACE=(1,(100,100))

Now, I'd like to update it with:

   //  DISP=SHR,SPACE=(,,RLSE)


Hmmm. Maybe SPACE=(,(,),RLSE) ?? Just a guess.



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?

Hmmm.  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'm used to coding "SPACE=(TRK,pri,(sec,dir))"
but that seems to say it should be "SPACE=(TRK,(pri,sec,dir))".  Is that right?


Yes, the latter is correct.


-Steve Comstock


And the optional "[...]" don't seem to be nested right.

Could be a fun RCF.  I hope they don't just say, "Ignore the diagram; rely on
the prose."

-- gil



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



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


Specify RLSE but omit SPACE values?

2014-10-21 Thread Paul Gilmartin
I have allocated a data set with:

  //  DISP=(MOD,CATLG),SPACE=(1,(100,100))

Now, I'd like to update it with:

  //  DISP=SHR,SPACE=(,,RLSE)

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?

Hmmm.  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'm used to coding "SPACE=(TRK,pri,(sec,dir))"
but that seems to say it should be "SPACE=(TRK,(pri,sec,dir))".  Is that right?
And the optional "[...]" don't seem to be nested right.

Could be a fun RCF.  I hope they don't just say, "Ignore the diagram; rely on
the prose."

-- gil



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