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
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.
----------------------------------------------------------------------
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