The suggested command contains a STORGRP operand which will limit processing to 
just those volumes in that storage group.  It is separate from the BY operand.  
Check out the STORGRP operand under the DUMP command in your DSS reference 
(page 407) in my 1.11 copy.

> -----Original Message-----
> From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On
> Behalf Of esmie moo
> Sent: Tuesday, September 27, 2011 1:10 PM
> To: IBM-MAIN@bama.ua.edu
> Subject: Re: DFDSS QUESTION - SYNTAX ERROR
>
> Matthew,
>
> This works, thanks, however since there are lots of dsns I want to limit
> it to a particular STORGRP.
>
>
> ________________________________
> From: Matthew Stitt <mathwst...@bellsouth.net>
> To: IBM-MAIN@bama.ua.edu
> Sent: Tuesday, September 27, 2011 2:37:39 PM
> Subject: Re: DFDSS QUESTION - SYNTAX ERROR
>
> I believe what will work is this:
>
>
>   DUMP  DATASET(INCLUDE(**)  -
>    BY((REFDT,LE,*,-100)(MGMTCLAS EQ TMMDAY3))) -
>                 OPT(4) ALLX ALLD(*) SPHERE OUTDD(TAPE) -
>                 STORGRP(TMMVOL)
>
>
> --------------------------------------------------------------------------
> ---------------------------------------------
>
> Esmie Moo:
>
> Good Morning Gentle Readers,
>
> I am trying to backup dsns via a specific MGMTCLAS, STORGRP and those dsns
> that have not been referred to over 100 days.  I keep getting a syntax
> error but I am unable to find it.  Could someone please point out my
> error?
>
>   DUMP  DATASET(INCLUDE(**)  -
>    BY((REFDT,LE,*,-100)(MGMTCLAS EQ TMMDAY3)(STORGRP EQ TMMVOL))) -
>                 OPT(4) ALLX ALLD(*) SPHERE OUTDD(TAPE)
> ADR101I (R/I)-RI01 (01), TASKID 001 HAS BEEN ASSIGNED TO COMMAND 'DUMP '
>
> ADR109I (R/I)-RI01 (01), 2011.270 13:15:30 INITIAL SCAN OF USER CONTROL
> STATEMEN
> ADR140E (001)-RI03 (02), INVALID 'BY' CRITERIA

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to