The FILTERDD is coded the same way as you do in the control cards. So look
at it like an IMBED or INCLUDE MEMBER (JCL) process
So in control cards you code
DATASET(INCLUDE( name1, name2, name3, -
Name4, -
NameN) -
So the FilterDD takes the INCLUDE(name1, name2, nameN)
Out of the control card.
So you should have
INCLUDE(FILTERDD(ddname)) -
The DDNAME should like the part of the include statement that is just the
INCLUDE( -
name1, -
name2, -
nameN -
)
Section is needed.
Note - The final ) in the FILTERDD input does not have a hyphen. But you
may need to play with that.
Lizette
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of esmie moo
Sent: Wednesday, April 17, 2013 4:53 AM
To: [email protected]
Subject: DFDSS PUZZLE - FILTERDD
Good Morning Gentle Readers,
I am trying to perform a backup of 1,000 dsns using DFDSS. I have a syntax
error but I cannot find it. I checked the doc and I even did a copy/paste
of the command to no avail. Could someone spot my error? Seems that my
sight is failing me. The DUMP statement starts in COL 3 the TOL(ENQF) is in
COL 8 & the DATASET(FILTERDD(FILTER1)) is in COL 5.
Thanks.
PAGE 0001 5695-DF175 DFSMSDSS V1R13.0 DATA SET SERVICES 2013.107
07:40 ADR031I (SCH)-PRIME(01), TYPRUN=NORUN REQUESTED. TASKS WILL EXECUTE IN
NORUN MOD
DUMP OPT(4) ALLX ALLD(*) SPHERE OUTDD(TAPE1) -
TOL(ENQF) -
DATASET(FILTERDD(FILTER1)) ADR101I (R/I)-RI01 (01), TASKID 001 HAS BEEN
ASSIGNED TO COMMAND 'DUMP ' ADR109I (R/I)-RI01 (01), 2013.107 07:40:27
INITIAL SCAN OF USER CONTROL STATEMEN ADR125E (001)-RI03P(01), LEFT
PARENTHESIS MISSING FOLLOWING KEYWORD 'FILTER/PASSWORD ' ADR017E
(001)-CLTSK(01), 2013.107 07:40:27 TASK NOT SCHEDULED DUE TO ERROR. TASK
RETURN CODE 0008 ADR012I (SCH)-DSSU (01), 2013.107 07:40:27 DFSMSDSS
PROCESSING COMPLETE. HIGHEST RETURN CODE IS 0008 FROM:
SYNTAX
TASK
001
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN