The command Matthew gave you should have limited the eligible datasets to the desired Storgrp.
From: esmie moo [mailto:[email protected]] Sent: Wednesday, September 28, 2011 7:38 AM To: O'Brien, David W. (NIH/CIT) [C] Subject: Re: DFDSS QUESTION - SYNTAX ERROR David, Thank you for taking the time and your patience to explain this to me. Now my problem is to select the dsns with that specific STORGRP and MGMTLCAS. Can this be done? If so, would you have an example. I was able to select the MGMTCLAS but the list was huge. By using the STORGRP it would reduce the size of the report tremendously. From: "O'Brien, David W. (NIH/CIT) [C]" <[email protected]> To: [email protected] Sent: Tuesday, September 27, 2011 2:06:52 PM Subject: Re: DFDSS QUESTION - SYNTAX ERROR Yes, the doc mentions Storgrp but NOT in the context that you are using. The following is allowable for the BY sub parameter: DATACLAS Data class for SMS MGMTCLAS Management class for SMS STORCLAS Storage class for SMS And since BY is a sub-parameter of the Dataset parameter you do need the extra ) at the end of the BY arguments, see example below. DUMP DATASET(INCLUDE(**) - BY((DSORG NE VSAM) - (CATLG EQ NO))) - -----Original Message----- From: esmie moo [mailto:[email protected]<mailto:[email protected]>] Sent: Tuesday, September 27, 2011 1:57 PM To: [email protected]<mailto:[email protected]> Subject: Re: DFDSS QUESTION - SYNTAX ERROR David, I checked the doc and it shows that STORGRP: ________________________________ From: "O'Brien, David W. (NIH/CIT) [C]" <[email protected]<mailto:[email protected]>> To: [email protected]<mailto:[email protected]> Sent: Tuesday, September 27, 2011 1:43:03 PM Subject: Re: DFDSS QUESTION - SYNTAX ERROR Plus the doc mentions Storclas not Storgrp, at least 1.11 does. -----Original Message----- From: Scott Ford [mailto:[email protected]<mailto:[email protected]>] Sent: Tuesday, September 27, 2011 1:38 PM To: [email protected]<mailto:[email protected]> Subject: Re: DFDSS QUESTION - SYNTAX ERROR Esmie: Unless my eyes are getting too old doesnt this command have one too many ')' Old: DUMP DATASET(INCLUDE(**) - BY((REFDT,LE,*,-100)(MGMTCLAS EQ TMMDAY3)(STORGRP EQ TMMVOL))) - OPT(4) ALLX ALLD(*) SPHERE OUTDD(TAPE) New: DUMP DATASET(INCLUDE(**) - BY((REFDT,LE,*,-100)(MGMTCLAS EQ TMMDAY3)(STORGRP EQ TMMVOL)) - OPT(4) ALLX ALLD(*) SPHERE OUTDD(TAPE) Regards, Scott J Ford Software Engineer http://www.identityforge.com<http://www.identityforge.com/> From: esmie moo <[email protected]<mailto:[email protected]>> To: [email protected]<mailto:[email protected]> Sent: Tuesday, September 27, 2011 1:27 PM Subject: DFDSS QUESTION - SYNTAX ERROR 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 If I try just with BY((REFDT,LE,*,-100)(MGMTCLAS EQ TMMDSK3J))) - It works. Could it be that I cannot select with STIRGRP? I looked at the doc and STORGRP is supported. Thanks. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected]<mailto:[email protected]> with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected]<mailto:[email protected]> with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected]<mailto:[email protected]> with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html SC35-0423-14 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected]<mailto:[email protected]> with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected]<mailto:[email protected]> with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

