jclb unit 4
TRANSCRIPT
-
8/21/2019 JCLb Unit 4
1/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed.
-
8/21/2019 JCLb Unit 4
2/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 2 o% &0
'(I) Modi%ying ** $arameter"
Changing ** $arameter"
O#erride ** Statement"
(+!!i%iation ** Statement"
ddition ** Statement"
Se-+ening M+!tip!e Change"
)opi"
-
8/21/2019 JCLb Unit 4
3/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age o% &0
Unit Introduction
'nit Modifying EXEC parameters, o#ered adding, o#erriding or n+!!i%ying proed+re 11C "tatement
parameter" at the time o% e3e+ting the proed+re.
)hi" +nit, i!! o#er ma5ing the"e temporary a!teration" to proed+re "tep ** "tatement".
Unit: Modifying DD Parameters
Introd+tion
-
8/21/2019 JCLb Unit 4
4/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 4 o% &0
t the end o% thi" +nit, yo+ i!! 6e a6!e to
• O#erride or n+!!i%y parameter" on proed+re "tep **"tatement"
• dd ** "tatement" to a proed+re "tep i% it doe" nota!ready ontain a!! the ** "tatement" re-+ired %ore3e+tion
• Corret!y "e-+ene m+!tip!e temporary a!teration" toproed+re "tep ** "tatement"
Unit Objectives
Unit: Modifying DD Parameters
Introd+tion
-
8/21/2019 JCLb Unit 4
5/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 7 o% &0
'(I) Modi%ying ** $arameter"
Changing ** $arameter"
O#erride ** Statement"
(+!!i%iation ** Statement"
ddition ** Statement"
Se-+ening M+!tip!e Change"
)opi"
-
8/21/2019 JCLb Unit 4
6/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 8 o% &0
t the end o% thi" topi, yo+ i!! 6e a6!e to
• *i"+"" the need to hange a ** "tatement parameter
• Identi%y hange" needed to the ** "tatement parameter
• Spei%y and e3p!ain the "ynta3 %or hanging **"tatement parameter"
Topic Objectives
Unit: Modifying DD Parameters Topic: Changing DD Parameters
Introd+tion
-
8/21/2019 JCLb Unit 4
7/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age & o% &0
Changing the DD Statement arameters
)he proed+re "tep ** "tatement" "pei%y the data "et" and their harateri"ti" %or that proed+re "tep.
I% the "pei%iation" are not hat are needed %or a 9o6, hange" to the ** "tatement parameter" an 6e
made
at the time o% proed+re e3e+tion.
Some o% the hange" to the ** "tatement parameter" that an 6e aomp!i"hed at the time o% e3e+tionin!+de
• Change a data "et name or it" "torage !oation
• (+!!i%ying "ome o% the "pei%ied parameter" that are not app!ia6!e to the data "et to 6e +"ed
• dd needed parameter" that are not "pei%ied
)he genera! %orm %or hanging ** "tatement parameter" i" a" %o!!o"
//procstepname.ddname DD parameter=value)o hange the ** "tatement parameter hen
in#o5ing a proed+re, the ** "tatement m+"t 6e
oded immediate!y %o!!oing the 11C "tatement.
Unit: Modifying DD Parameters Topic: Changing DD Parameters
Conept"
-
8/21/2019 JCLb Unit 4
8/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age : o% &0
)he ** "tatement ha" a to;part name. It on"i"t" o% the name o% the proed+re "tep in hih the **
"tatement to 6e hanged o+r", %o!!oed 6y a period and the name o% the ** "tatement in the proed+re
"tep.
)he parameter to 6e hanged, added or n+!!i%ied i" "pei%ied a%ter the 5eyord **, %o!!oed 6y an e-+a! "ign
and the #a!+e o% the parameter.
Important Considerations !hi"e Changing DD Statement arameters
-
8/21/2019 JCLb Unit 4
9/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age = o% &0
#hen invo$ing a procedure% you code changes to a procedure&s data specifications on a DD
statement that fo""o!s the EXEC statement' #hich of the fo""o!ing items are inc"uded in the t!o(
part name of that DD statement)
. )he proed+re "tep in hih the parameter to 6e hanged o+r"
B. )he **(M1 o% the "tatement in hih the parameter to 6e hanged o+r"
C. period
*. parameter to 6e hanged
*re #e on Trac$)
Unit: Modifying DD Parameters Topic: Changing DD Parameters
>e#ie
-
8/21/2019 JCLb Unit 4
10/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age ?0 o% &0
+o""o!ing are the items you code in a DD statement to change procedure data specifications' utthem in the correct se,uence'
. **
B. $arameter to 6e hanged
C. **(M1
*. $roed+re "tep name %o!!oed 6y a period
1 .Va!+e o% the parameter to 6e hanged
-
8/21/2019 JCLb Unit 4
11/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age ?? o% &0
** "tatement parameter" $arameter" "+h a" *S(, >1C
-
8/21/2019 JCLb Unit 4
12/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age ?2 o% &0
(o that yo+ ha#e omp!eted thi" topi, yo+ "ho+!d 6e a6!e to
• *i"+"" the need to hange a ** "tatement parameter
• Identi%y hange" needed to the ** "tatement parameter
• Spei%y and e3p!ain the "ynta3 %or hanging **"tatement parameter"
Topic Summary
Unit: Modifying DD Parameters Topic: Changing DD Parameters
S+mmary
-
8/21/2019 JCLb Unit 4
13/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age ? o% &0
'(I) Modi%ying ** $arameter"
Changing ** $arameter"
O#erride ** Statement"
(+!!i%iation ** Statement"
ddition ** Statement"
Se-+ening M+!tip!e Change"
)opi"
-
8/21/2019 JCLb Unit 4
14/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age ?4 o% &0
t the end o% thi" topi, yo+ i!! 6e a6!e to
• *i"+"" the need to o#erride a ** "tatement
• Spei%y and e3p!ain the ode %or o#erriding a **"tatement parameter
• 13p!ain ho to o#erride a ** "tatement parameter
Topic Objectives
Introd+tion
Unit: Modifying DD Parameters Topic: Override DD Statements
-
8/21/2019 JCLb Unit 4
15/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age ?7 o% &0
Overriding DD Statement arameters
Ahen the ** "tatement parameter" that a!ready e3i"t in the proed+re de%inition are not hat yo+ ant %or a
parti+!ar 9o6 e3e+tion, yo+ an ode an o#erride ** "tatement.
)o o#erride the ** "tatement parameter", the e3i"ting ** "tatement parameter" in the proed+re "tep need
to 6e e3p!iit!y hanged or n+!!i%ied or a m+t+a!!y e3!+"i#e parameter m+"t 6e oded.
)he genera! %orm %or o#erriding ** "tatement parameter" i"
//PROCSTEPN!E.DDN!E
// DD PR!ETER=V"#E
Conept"
Unit: Modifying DD Parameters Topic: Override DD Statements
-
8/21/2019 JCLb Unit 4
16/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age ?8 o% &0
Coding an Override DD Statement
Ahen oding an o#erride ** "tatement, the %o!!oing on"ideration" m+"t 6e 5ept in mind
• Code the o#erride ** "tatement immediate!y %o!!oing the 11C "tatement +"ed to in#o5e the
proed+re
• S+pp!y a name %or the o#erride ** "tatement on"i"ting o% the name o% the proed+re "tep in hih
the ** "tatement to 6e o#erridden o+r", %o!!oed 6y a period and the name o% the ** "tatementin the proed+re "tep
• Spei%y on the ** "tatement in any "e-+ene the 5eyord parameter" ho"e #a!+e" are to 6e
hanged or n+!!i%ied, "eparated 6y omma"
Conept"
Unit: Modifying DD Parameters Topic: Override DD Statements
-
8/21/2019 JCLb Unit 4
17/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age ?& o% &0
In the )>(SC) proed+re, the inp+t
tran"ation" are "pei%ied in a data "et named
I()>(.
parti+!ar ee5D" inp+t tran"ation" re"ide in a
data "et named (1A)>(.
(1A)>( i" an +nata!oged data "et that
re"ide" on a =0 diret ae"" #o!+me
ho"e #o!+me identi%ier i" ?247.
Override DD Statement . *n E/amp"e
INTRAN
NEWTRAN
TRANSACT
Contin+edE
? 00 ?
Conept"
Unit: Modifying DD Parameters Topic: Override DD Statements
-
8/21/2019 JCLb Unit 4
18/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age ?: o% &0
In order to +"e the e3i"ting )>(SC)proed+re
to proe"" that ee5D" tran"ation" a ** o#erride
"tatement that identi%ie" (1A)>(, rather than
I()>(, a" the name o% the tran"ation data "et
m+"t 6e oded.
)he o#erride ** "tatement i" a" %o!!o"
//PSTEP$.DD$ DD DSN=NE%TRN&
// #NIT=''()&
// VO"=SER=$*'+,
Override DD Statement . *n E/amp"e 0cont&d1
INTRAN
NEWTRAN
TRANSACT
OVERIDE ? 00 ?
Conept"
Unit: Modifying DD Parameters Topic: Override DD Statements
-
8/21/2019 JCLb Unit 4
19/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age ?= o% &0
)he ode a!ong"ide "ho" the )>(SC)
proed+re de%inition.
)he ** "tatement parameter that i" to o#erridden
i" high!ighted.
Override DD Statements . rocedure Definition
//PSTEP$ EXEC P-!=PRO-$&TI!E$&')//DD$ DD DSN=INTRN&DISP=S0R
//DD* DD DSN=!STER&DISP=S0R
//DD' DD S1SO#T=
//DD+ DD DSN=22V"ID&
// DISP=NE%&PSS&
// #NIT=S1SD&
// SPCE=TRK&$&$
//PSTEP* EXEC P-!=PRO-*&TI!E=,
//DD, DD DSN=22V"ID&
// DISP=O"D&DE"ETE
Conept"
Unit: Modifying DD Parameters Topic: Override DD Statements
-
8/21/2019 JCLb Unit 4
20/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 20 o% &0
)he ode a!ong"ide "ho" the 11C "tatement
+"ed to in#o5e the )>(SC) proed+re.
)he o#erride ** "tatement i" oded immediate!y
a%ter the 11C "tatement, "pei%ying the
proed+re "tep ontaining the ** "tatement and
name o% the ** "tatement in the proed+re, thene data "etD" name, and it" !oation.
Override DD Statements . EXEC Statement
//STEP EXEC TRNSCT//PSTEP$.DD$ DD DSN=NE%TRN&
// #NIT=''()&
// VO"=SER=$*'+,
Conept"
Unit: Modifying DD Parameters Topic: Override DD Statements
-
8/21/2019 JCLb Unit 4
21/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 2? o% &0
)he ode on the right "ho" the re"+!ting JCL
"tatement.
)he data "et to 6e +"ed d+ring e3e+tion ha"
6een hanged to (1A)>(.
Override DD Statement . 2esu"ting 3C4
)he e3i"ting ** "tatement
5eyord parameter" that are
not o#erridden are retained.
//PSTEP$ EXEC P-!=PRO-$&TI!E$&')
//DD$ DD DSN=NE%TRN&DISP=S0R&
// #NIT=''()&VO"=SER=$*'+,
//DD* DD DSN=!STER&DISP=S0R
//DD' DD S1SO#T=
//DD+ DD DSN=22V"ID&
// DISP=NE%&PSS&// #NIT=S1SD&
// SPCE=TRK&$&$
//PSTEP* EXEC P-!=PRO-*&TI!E=,
//DD, DD DSN=22V"ID&
// DISP=O"D&DE"ETE
Conept"
Unit: Modifying DD Parameters Topic: Override DD Statements
-
8/21/2019 JCLb Unit 4
22/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 22 o% &0>e#ie
Under !hich of the fo""o!ing conditions !ou"d you code an override DD statement)
. )he $roed+re "tep ha" no ** "tatement".
B. )here i" no ** "tatement ith the ddname yo+ need.
C. )he data "et attri6+te" in a ** "tatement are not appropriate.
*re #e on Trac$)
>e#ie
Unit: Modifying DD Parameters Topic: Override DD Statements
-
8/21/2019 JCLb Unit 4
23/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 2 o% &0
The fo""o!ing is a procedure ca""ed M52OC
Comp"ete the fo""o!ing 3C4 statements so that !hen M52OC is invo$ed% 2O-6 creates aS5SOUT c"ass * output rather than !rite the output to the data set named 2T'
//3STEP EXEC !1PROC
FFFFFFFFFFFFFFFFFFFFFFFF
*re #e on Trac$)
//STEP$ EXEC P-!=PRO-//DD$ DD DSN=&DISP=S0R
//DD* DD DSN=O#T&DISP=NE%&CT"-&// #NIT=S1SD&SPCE=TRK&$&$//STEP* EXEC P-!=PRO-4
//DD' DD DSN=4&DISP=S0R//DD+ DD DSN=RPT&DISP=NE%&CT"-&
// #NIT=S1SD&SPCE=TRK&$&$
>e#ie
Unit: Modifying DD Parameters Topic: Override DD Statements
-
8/21/2019 JCLb Unit 4
24/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 24 o% &0
(o that yo+ ha#e omp!eted thi" topi, yo+ "ho+!d 6e a6!e to
• *i"+"" the need to o#erride a ** "tatement
• Spei%y and e3p!ain the ode %or o#erriding a **"tatement parameter
• 13p!ain ho to o#erride a ** "tatement parameter
Topic Summary
S+mmary
Unit: Modifying DD Parameters Topic: Override DD Statements
-
8/21/2019 JCLb Unit 4
25/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 27 o% &0
'(I) Modi%ying ** $arameter"
Changing ** $arameter"
O#erride ** Statement"
(+!!i%iation ** Statement"
ddition ** Statement"
Se-+ening M+!tip!e Change"
)opi"
-
8/21/2019 JCLb Unit 4
26/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 28 o% &0
t the end o% thi" topi, yo+ i!! 6e a6!e to
• *i"+"" the need to n+!!i%y a parameter
• 13p!ain ho to n+!!i%y a parameter
•
13p!ain ho to n+!!i%y a *S( parameter
• >eognize the r+!e" hi!e o#erriding or n+!!i%ying a *CBparameter
• 13p!ain ho to n+!!i%y a *CB parameter
Topic Objectives
Topic: Nullification DD StatementsUnit: Modifying DD Parameters
Conept"
-
8/21/2019 JCLb Unit 4
27/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 2& o% &0
7u""ifying a DD Statement arameter
)o ret+rn the #a!+e o% a ** "tatement parameter to the "y"tem de%a+!t, the parameter m+"t 6e n+!!i%ied.
)o n+!!i%y a ** "tatement parameter, yo+
• @i#e the name o% the parameter, %o!!oed 6y the e-+a! "ign
• *o not ode a #a!+e %or the parameter
)he genera! %orm %or n+!!i%ying a ** "tatement parameter i"
//procstepname.ddname DD parameter=
Topic: Nullification DD StatementsUnit: Modifying DD Parameters
Conept"
-
8/21/2019 JCLb Unit 4
28/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 2: o% &0
In thi" e3amp!e a""+me the )>(SC)
proed+re de%inition identi%ie" data "et MS)1>
a" an +nata!oged data "et re"iding on a 4:0
tape #o!+me ith a #o!+me identi%ier o% =:&&82.
7u""ifying a DD Statement arameter . *n E/amp"e
Contin+edE
MASTER
MASTER
TRANSACT
? 00 ?
CT"O-EDDT SET
#NCT"O-ED
DT SET
Topic: Nullification DD StatementsUnit: Modifying DD Parameters
Conept"
-
8/21/2019 JCLb Unit 4
29/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 2= o% &0
ho"e !oation i" reorded in the
"y"tem ata!og i" re-+ired d+ring the e3e+tion
o% )>(SC).
n o#erride ** "tatement to n+!!i%y the '(I) and
VOLGS1> parameter" and re%erring to the
+nata!oged MS)1> data "et o+!d 6e oded
a" %o!!o"
//procstepname.ddanme DD
// #NIT=&VO"=SER=
7u""ifying a DD Statement arameter . *n E/amp"e 0cont&d1
? 00 ?
MASTER
MASTER
TRANSACT
N!!I"#
CT"O-EDDT SET
#NCT"O-ED
DT SET
Topic: Nullification DD StatementsUnit: Modifying DD Parameters
Conept"
-
8/21/2019 JCLb Unit 4
30/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 0 o% &0
)he )>(SC) proed+re de%inition i" "hon on
the right.
)he ** "tatement parameter that i" to 6e
o#erridden i" high!ighted.
7u""ifying a arameter . rocedure Definition
//PSTEP$ EXEC P-!=PRO-$&TI!E$&')
//DD$ DD DSN=NE%TRN&DISP=S0R
//DD* DD DSN=!STER&DISP=S0R&
// #NIT='+5)&VO"=SER=(5667*
//DD' DD S1SO#T=
//DD+ DD DSN=22V"ID&
// DISP=NE%&PSS&// #NIT=S1SD&
// SPCE=TRK&$&$//PSTEP* EXEC P-!=PRO-*&TI!E=,
//DD, DD DSN=22V"ID&
// DISP=O"D&DE"ETE
Topic: Nullification DD StatementsUnit: Modifying DD Parameters
Conept"
-
8/21/2019 JCLb Unit 4
31/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age ? o% &0
)he 11C "tatement +"ed to in#o5e the
)>(SC) proed+re i" "hon on the right.
)he o#erride ** "tatement i" oded immediate!y
a%ter the 11C "tatement, "pei%ying the
proed+re "tep ontaining the ** "tatement and
name o% the ** "tatement in the proed+re.
)he o#erride ** "tatement n+!!i%ie" the '(I) and
VOL parameter".
7u""ifying a arameter . EXEC Statement
//STEP EXEC TRNSCT//PSTEP$.DD* DD #NIT=&VO"=SER=
Topic: Nullification DD StatementsUnit: Modifying DD Parameters
Conept"
-
8/21/2019 JCLb Unit 4
32/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 2 o% &0
)he re"+!ting JCL "tatement i" "hon on theright.
)he data "et to 6e +"ed d+ring e3e+tion ha"
6een hanged to de%a+!t #a!+e i.e. the ata!oged
MS)1> data "et.
7u""ifying a arameter . 2esu"ting 3C4
)he e3i"ting ** "tatement
5eyord parameter", that are
not o#erridden, are retained.
//PSTEP$ EXEC P-!=PRO-$&TI!E$&')//DD$ DD DSN=INTRN&DISP=S0R
//DD* DD DSN=!STER&DISP=S0R
//DD' DD S1SO#T=
//DD+ DD DSN=22V"ID&
// DISP=NE%&PSS&
// #NIT=S1SD&// SPCE=TRK&$&$
//PSTEP* EXEC P-!=PRO-*&TI!E=,
//DD, DD DSN=22V"ID&
// DISP=O"D&DE"ETE
Topic: Nullification DD StatementsUnit: Modifying DD Parameters
Conept"
-
8/21/2019 JCLb Unit 4
33/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age o% &0
The fo""o!ing is a procedure ca""ed M52OC
Code statements to override the U7IT parameter to 89:; and nu""ify the S*CE parameter in
STE
-
8/21/2019 JCLb Unit 4
34/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 4 o% &0
DUMM5 arameter
*'MMH parameter i" +"ed to 6ypa"" a data "et, itho+t re"+!ting in a program B1(*.
*'MMH parameter may 6e "pei%ied in a proed+re "tep ** "tatement. I% yo+ re-+ire to e3e+te the
proed+re ith rea! data, the *'MMH parameter m+"t 6e o#erridden ith the name o% the data "et to 6e
+"ed.
Topic: Nullification DD StatementsUnit: Modifying DD Parameters
Conept"
/OS MVS JCL I di
-
8/21/2019 JCLb Unit 4
35/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 7 o% &0
In thi" e3amp!e, a proed+re "tep named$S)1$?
ontain" the %o!!oing ** "tatement to identi%y
the
o+tp+t data "et
//DDO#T DD D#!!1
I% a SHSO') !a"" o+tp+t ha" to 6e reated %or
thi" in#oation then the %o!!oing ** "tatement
need" to 6e oded
//PSTEP$.DDO#T DD S1SO#T=
7u""ifying the DUMM5 arameter . *n E/amp"e
? 00 ?
DMM#
TRANSACT
N!!I"#
S#SOT$A
Topic: Nullification DD StatementsUnit: Modifying DD Parameters
Conept"
/OS MVS JCL I t di t
-
8/21/2019 JCLb Unit 4
36/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 8 o% &0
7u""ifying the DS7 parameter
I% a proed+re i" to 6e e3e+ted itho+t +"ing a data "et "pei%ied on a proed+re "tep ** "tatement, ad+mmy "tat+" an 6e a""igned to the data "et.
)he o#erride ** "tatement an either "pei%y *'MMH or *S(G('LL
-
8/21/2019 JCLb Unit 4
37/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age & o% &0
)he )>(SC) proed+re de%inition i" "hon onthe right.
)he ** "tatement parameter that i" to o#erridden
i" high!ighted.
7u""ifying the DS7 parameter . rocedure Definition
//PSTEP$ EXEC P-!=PRO-$&TI!E$&')
//DD$ DD DSN=INTRN&DISP=S0R
//DD* DD DSN=!STER&DISP=S0R&
// #NIT='+5)&VO"=SER=(567*
//DD' DD S1SO#T=
//DD+ DD DSN=22V"ID&
// DISP=NE%&PSS&// #NIT=S1SD&
// SPCE=TRK&$&$//PSTEP* EXEC P-!=PRO-*&TI!E=,
//DD, DD DSN=22V"ID&
// DISP=O"D&DE"ETE
Topic: Nullification DD StatementsUnit: Modifying DD Parameters
Conept"
/OS MVS JCL I t di t
-
8/21/2019 JCLb Unit 4
38/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age : o% &0
)he 11C "tatement +"ed to in#o5e the)>(SC) proed+re i" "hon on the right.
)he o#erride ** "tatement n+!!i%ie" the *S(
parameter and any other parameter" a""oiated
ith that data "et.
7u""ifying the DS7 arameter . EXEC Statement
//STEP EXEC TRNSCT//PSTEP$.DD* DD D#!!1
Topic: Nullification DD StatementsUnit: Modifying DD Parameters
Conept"
/OS MVS JCL I t di t
-
8/21/2019 JCLb Unit 4
39/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age = o% &0
)he re"+!ting JCL "tatement i" "hon on theright.
*+ring e3e+tion o% the proed+re, the "y"tem
i!!
not on"ider the data "et that a" de"ignated 6y
**2. It i!! pa"" on to ** a%ter **?.
7u""ifying the DS7 arameter . 2esu"ting 3C4
//PSTEP$ EXEC P-!=PRO-$&TI!E$&')//DD$ DD DSN=INTRN&DISP=S0R
//DD* DD D#!!1
//DD' DD S1SO#T=
//DD+ DD DSN=22V"ID&
// DISP=NE%&PSS&
// #NIT=S1SD&// SPCE=TRK&$&$
//PSTEP* EXEC P-!=PRO-*&TI!E=,
//DD, DD DSN=22V"ID&
// DISP=O"D&DE"ETE
Topic: Nullification DD StatementsUnit: Modifying DD Parameters
Conept"
z/OS MVS JCL Intermediate
-
8/21/2019 JCLb Unit 4
40/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 40 o% &0
#hich one of the fo""o!ing is the resu"t of coding DUMM5 or DS7=7U44+I4E on an
override DD statement)
. )he proed+re i" e3e+ted ith a d+mmy data "et.
B. !! parameter" on the orre"ponding ** "tatement e3ept *CB are n+!!i%ied.
C. )he proed+re i" e3e+ted itho+t the data "et.
*. !! parameter" on the orre"ponding proed+re ** "tatement are n+!!i%ied
*re #e on Trac$)
Topic: Nullification DD StatementsUnit: Modifying DD Parameters
Conept"
z/OS MVS JCL Intermediate
-
8/21/2019 JCLb Unit 4
41/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 4? o% &0
Considerations !hi"e 7u""ifying DC6 parameters
Some "peia! r+!e" app!y hen o#erriding or n+!!i%ying the *CB parameter.
• Code on!y tho"e *CB 5eyord "+6parameter" ho"e #a!+e" need to 6e hanged. *CB 5eyord
"+6parameter" hih are not oded remain +nhanged.
• Code any re-+ired *CB po"itiona! "+6parameter" regard!e"" o% hether or not they are "pei%ied
on the ** "tatement in the proed+re de%inition.
• )o n+!!i%y an e3i"ting *CB po"itiona! "+6 parameter "imp!y omit it %rom the *CB parameter gi#en in
the o#erride ** "tatement.
• )o n+!!i%y the *CB parameter omp!ete!y, omit a!! e3i"ting po"itiona! "+6parameter" and e3p!iit!y
n+!!i%y eah e3i"ting 5eyord "+6parameter.
• $o"itiona! "+6parameter" "+h a" *S( are e""entia! to the "y"tem. )he"e m+"t 6e oded, e#en i%
they are "pei%ied in the proed+re de%inition.
• eyord "+6parameter" "+h a" BLSI1 "+pp!y additiona! in%ormation to the operating "y"tem.
I% they are "pei%ied in the proed+re de%inition, then ode on!y tho"e that are to 6e hanged.
Topic: Nullification DD StatementsUnit: Modifying DD Parameters
Conept"
z/OS MVS JCL Intermediate
-
8/21/2019 JCLb Unit 4
42/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 42 o% &0
7u""ifying the DC6 arameter . E/amp"e >
)hi" i" a ** "tatement in a proed+re "tep a!!ed $S)1$?
//DD$ DD DSN=!1DSET&DISP=S0R&
// DC4=4#8NO=$&4"KSI9E=5))&
// REC8!=84&4#8"=5))
I% the 6!o5 "ize and 6+%%er !ength need" to 6e hanged to 20 at the time o% e3e+tion, then the %o!!oing
o#erride ** "tatement need" to 6e oded
//PSTEP$.DD$ DD DC4=4"KSI9E='*)&
// 4#8"='*)
)he #a!+e" o% the *S( and *IS$
parameter" and the B'1C
-
8/21/2019 JCLb Unit 4
43/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 4 o% &0
7u""ifying the DC6 arameter . E/amp"e <
)hi" i" a ** "tatement in a proed+re "tep a!!ed $S)1$?
//DD* DD DSN=!1DSET&DISP=S0R&
// DC4=DS$&4"KSI9E=5)
I% the 6!o5 "ize need" to 6e hanged to 400 and the remaining *CB in%ormation ha" to 6e opied %rom a
ata!oged data "et *S? at the time o% e3e+tion, then the %o!!oing o#erride ** "tatement need" to 6eoded
//PSTEP$.DD* DD DC4=DS$&
// 4"KSI9E=+))
)he #a!+e *S? repre"ent" a po"itiona!
"+6parameter, hih m+"t 6e e3p!iit!y "pei%ied
in the o#erride "tatement i% it i" to 6e retained.
Topic: Nullification DD StatementsUnit: Modifying DD Parameters
Conept"
z/OS MVS JCL Intermediate
-
8/21/2019 JCLb Unit 4
44/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 44 o% &0
7u""ifying the DC6 arameter . E/amp"e 8
)hi" i" a ** "tatement in a proed+re a!!ed $S)1$?
//DD' DD DSN=!1DSET&DISP=S0R&
// DC4=REC8!=84&
// 4"KSI9E=$7)&"REC"=5)
In order to n+!!i%y the entire *CB parameter o% the ** "tatement, eah *CB 5eyord "+6parameter "pei%ied
in the proed+re de%inition m+"t 6e n+!!i%ied a" "hon 6e!o
//PSTEP$.DD' DD DC4=REC8!=&4"KSI9E=&"REC"=
Topic: Nullification DD StatementsUnit: Modifying DD Parameters
Conept"
z/OS MVS JCL Intermediate
-
8/21/2019 JCLb Unit 4
45/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 47 o% &0
#hich of the fo""o!ing ru"es app"y to coding DD override statements for the DC6 parameter)
. Code on!y tho"e 5eyord "+6parameter" yo+ ant to hange.
B. )o n+!!i%y, omit po"itiona! parameter" and n+!!i%y a!! 5eyord parameter".
C. Spei%y any po"itiona! "+6parameter" yo+ ant to retain.
*. )o n+!!i%y, ode *CBG('LLe#ie
z/OS MVS JCL Intermediate
-
8/21/2019 JCLb Unit 4
46/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 48 o% &0
* DD statement named DD> in a procedure ca""ed STE< has the fo""o!ing DC6 parameter
Comp"ete the fo""o!ing 3C4 statements to change the b"oc$ si?e and buffer "ength to 8
-
8/21/2019 JCLb Unit 4
47/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 4& o% &0
*CB "+6parameter" #aria6!e p!aed ithin parenthe"i" ithin the *CB parameter, to "pei%y in%ormation "+h a" 6!o5 "ize or reord %ormat.
eyord "+6parameter" )hi" i" a !i"t o% #aria6!e in%ormation ontained ithin parenthe"e", and
%o!!oed 6y an e-+a! "ign and #a!+e.
$o"itiona! "+6parameter" )hi" i" a !i"t o% #aria6!e in%ormation oded in parenthe"e".
-"ossary
@!o""ary
Topic: Nullification DD StatementsUnit: Modifying DD Parameters
z/OS MVS JCL Intermediate
-
8/21/2019 JCLb Unit 4
48/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 4: o% &0
(o that yo+ ha#e omp!eted thi" topi, yo+ "ho+!d 6e a6!e to
• *i"+"" the need to n+!!i%y a parameter
• 13p!ain ho to n+!!i%y a parameter
• 13p!ain ho to n+!!i%y a *S( parameter
• >eognize the r+!e" hi!e o#erriding or n+!!i%ying a *CBparameter
• 13p!ain ho to n+!!i%y a *CB parameter
Topic Summary
Topic: Nullification DD StatementsUnit: Modifying DD Parameters
S+mmary
z/OS MVS JCL Intermediate
-
8/21/2019 JCLb Unit 4
49/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 4= o% &0
'(I) Modi%ying ** $arameter"
Changing ** $arameter"
O#erride ** Statement"
(+!!i%iation ** Statement"
ddition ** Statement"
Se-+ening M+!tip!e Change"
)opi"
z/OS MVS JCL Intermediate
-
8/21/2019 JCLb Unit 4
50/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 70 o% &0
t the end o% thi" topi, yo+ i!! 6e a6!e to
• *i"+"" the need to add a ** "tatement
• 13p!ain ho to add a ** "tatement
Topic Objectives
Topic: Addition DD StatementsUnit: Modifying DD Parameters
Introd+tion
z/OS MVS JCL Intermediate
-
8/21/2019 JCLb Unit 4
51/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 7? o% &0
*ddition DD Statements
I% a re-+ired data "et i" not %o+nd in the proed+re de%inition then an additiona! ** "tatement an 6e odeda!ong ith the in#oation o% the proed+re.
)he genera! %orm i" "ame a" an o#erride ** "tatement
//prostepname.ddname DD parameter=value
Topic: Addition DD StatementsUnit: Modifying DD Parameters
Conept"
z/OS MVS JCL Intermediate
-
8/21/2019 JCLb Unit 4
52/70
z/OS MVS JCL Intermediate
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 72 o% &0
In thi" e3amp!e, the )>(SC) proed+re i"+"ed to proe"" +"tomer order".
1#ery -+arter the tran"ation inp+t %i!e data "et
I()>( ha" to 6e he5ed again"t the ma"ter
+"tomer !i"t data "et MS)1> to en"+re that
eah tran"ation ha" #a!id +"tomer.
*+ring the ro+tine ee5!y e3e+tion the he5 i"
not made, and data "et MS)1> i" not +"ed.
*dding DD Statements . *n E/amp"e
TRANSACT
MASTER
VA!ID
INTRAN
? 00 ?
? 00 ?
? 00 ?
%uarter&'
Topic: Addition DD StatementsUnit: Modifying DD Parameters
Conept"
z/OS MVS JCL Intermediate
-
8/21/2019 JCLb Unit 4
53/70
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 7 o% &0
)he )>(SC) proed+re de%inition i" "hon onthe right.
In thi" proed+re
• )he $>M #a!+e o% (OCK1C i"
"pei%ied in the $S)1$? 11C
"tatement
• $S)1$? doe" not in!+de a re%erene to
data "et MS)1>
*dding DD Statements . rocedure Definition
//PSTEP$ EXEC P-!=PRO-$&TI!E$&')&
// PR!=NOC0ECK
//DD$ DD DSN=INTRN&DISP=S0R
//DD' DD S1SO#T=
//DD+ DD DSN=22V"ID&
// DISP=NE%&PSS&
// #NIT=S1SD&// SPCE=TRK&$&$
//PSTEP* EXEC P-!=PRO-*&TI!E=,//DD, DD DSN=22V"ID&
// DISP=O"D&DE"ETE
//DD7 DD S1SO#T=
Topic: Addition DD StatementsUnit: Modifying DD Parameters
Conept"
z/OS MVS JCL Intermediate
-
8/21/2019 JCLb Unit 4
54/70
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 74 o% &0
)o e3e+te the proed+re ro+tine!y e#ery ee5itho+t ma5ing the he5, yo+ o+!d ode the
%o!!oing 11C "tatement to in#o5e the
proed+re
//3STEP EXEC TRNSCT
)he ode on the right repre"ent" the e%%eti#e
JCL
%or thi" parti+!ar 9o6.
*ddition DD Statements . EXEC Statement
//PSTEP$ EXEC P-!=PRO-$&TI!E$&')&
// PR!=NOC0ECK
//DD$ DD DSN=INTRN&DISP=S0R
//DD' DD S1SO#T=
//DD+ DD DSN=22V"ID&
// DISP=NE%&PSS&
// #NIT=S1SD&// SPCE=TRK&$&$
//PSTEP* EXEC P-!=PRO-*&TI!E=,//DD, DD DSN=22V"ID&
// DISP=O"D&DE"ETE
//DD7 DD S1SO#T=
Contin+edE
Topic: Addition DD StatementsUnit: Modifying DD Parameters
Conept"
z/OS MVS JCL Intermediate
-
8/21/2019 JCLb Unit 4
55/70
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 77 o% &0
M parameter #a!+e o%
CK1C to o#erride the #a!+e o%
(OCK1C
• n addition ** "tatement to identi%y
data "et MS)1> that $>O@? need" toae"" to per%orm the he5
)he ode on the right repre"ent" the 11C
"tatement +"ed to in#o5e the proed+re.
*ddition DD Statements . EXEC Statement 0cont&d1
//3STEP EXEC TRNSCT&
// PR!.PSTEP$=C0ECK
//PSETP$.DD* DD DSN=!STER&
// DISP=S0R
Topic: Addition DD StatementsUnit: Modifying DD Parameters
Conept"
z/OS MVS JCL Intermediate
-
8/21/2019 JCLb Unit 4
56/70
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 78 o% &0
)he re"+!ting JCL "tatement i" "hon on theright.
)he $>M #a!+e ha" 6een o#erridden to CK1C
and an addition "tatement to identi%y data "et
MS)1> ha" 6een "pei%ied.
*ddition DD Statements . Effective 3C4
//PSTEP$ EXEC P-!=PRO-$&TI!E$&')&
// PR!=C0ECK
//DD$ DD DSN=INTRN&DISP=S0R
//DD' DD S1SO#T=
//DD+ DD DSN=22V"ID&
// DISP=NE%&PSS&
// #NIT=S1SD&// SPCE=TRK&$&$
//DD* DD DSN=!STER&DISP=S0R//PSTEP* EXEC P-!=PRO-*&TI!E=,
//DD, DD DSN=22V"ID&
// DISP=O"D&DE"ETE
Topic: Addition DD StatementsUnit: Modifying DD Parameters
Conept"
z/OS MVS JCL Intermediate
-
8/21/2019 JCLb Unit 4
57/70
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 7& o% &0
Under !hich one of the fo""o!ing conditions !ou"d you code an addition DD statement)
. )he ddname yo+ need i" not "pei%ied.
B. )he ddname i" "pei%ied, 6+t the attri6+te" are not appropriate.
C. )he proed+re "tep ha" a ** "tatement ith the *'MMH parameter.
*re #e on Trac$)
Topic: Addition DD StatementsUnit: Modifying DD Parameters
>e#ie
z/OS MVS JCL Intermediate
-
8/21/2019 JCLb Unit 4
58/70
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 7: o% &0
The fo""o!ing is a procedure ca""ed *752OC
Code an addition statement for *752OC' Specify% for 2O-
-
8/21/2019 JCLb Unit 4
59/70
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 7= o% &0
(o that yo+ ha#e omp!eted thi" topi, yo+ "ho+!d 6e a6!e to
• *i"+"" the need to add a ** "tatement
• 13p!ain ho to add a ** "tatement
Topic Summary
Topic: Addition DD StatementsUnit: Modifying DD Parameters
S+mmary
z/OS MVS JCL Intermediate
-
8/21/2019 JCLb Unit 4
60/70
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 80 o% &0
'(I) Modi%ying ** $arameter"
Changing ** $arameter"
O#erride ** Statement"
(+!!i%iation ** Statement"
ddition ** Statement"
Se-+ening M+!tip!e Change"
)opi"
z/OS MVS JCL Intermediate
-
8/21/2019 JCLb Unit 4
61/70
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 8? o% &0
t the end o% thi" topi, yo+ i!! 6e a6!e to
• *i"+"" hat i" "e-+ening m+!tip!e parameter"
• Identi%y the r+!e" %or "e-+ening m+!tip!e parameter"
• '"e the "horthand %orm %or m+!tip!e o#erride **
"tatement"
Topic Objectives
Unit: Modifying DD Parameters Topic: Sequencing Multiple Parameters
Introd+tion
z/OS MVS JCL Intermediate
-
8/21/2019 JCLb Unit 4
62/70
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 82 o% &0
ny n+m6er o% o#erride and addition ** "tatement" an 6e oded to in#o5e a proed+re.
)he r+!e" %or oding m+!tip!e parameter" are
• Code the 11C "tatement to in#o5e the proed+re.
•
O#erriding "tatement" an appear in any order hen they e3p!iit!y "pei%y the "tep that i" 6eingo#erridden.
• dded "tatement" an appear in any order hen they "pei%y the "tep e3p!iit!y.
• O#erriding and added "tatement" that do not e3p!iit!y "pei%y the "tep are app!ied to the "tep
named in the pre#io+" o#erriding or added O')$') JCL or ** "tatement. I% no pre#io+" o#erride
"tatement named a "tep, then they are app!ied to the %ir"t "tep in the proed+re.
Coding Mu"tip"e arameters
Unit: Modifying DD Parameters Topic: Sequencing Multiple Parameters
Conept"
z/OS MVS JCL Intermediate
-
8/21/2019 JCLb Unit 4
63/70
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 8 o% &0
)he )>(SC) proed+re de%inition i""hon on the right.
)he %o!!oing hange" need to 6e made
• $>O@? o6tain" it" inp+t tran"ation"%rom a ata!oged data "et named
MH*), in"tead o% %rom I()>(.• $>O@? he5" the ontent" o%
MH*) again"t the ontent" o% a"eond ata!oged data "et namedC*). )he $>M #a!+e o%(OCK1C need" to 6e o#erridden iththe #a!+e CK1C, and a ** "tatementnamed **2 to re%erene C*) ha"
to added.• $>O@2 rite" it" o+tp+t +"ing ddname
**8 to a data "et named I(VOIC1 ona =0 #o!+me ith #o!+me identi%ier8=2=L. )he data "et re-+ire" ?0 tra5"o% "pae and "ho+!d 6e ata!oged.
Se,uencing Mu"tip"e arameters . *n E/amp"e
//PSTEP$ EXEC P-!=PRO-$&TI!E$&')&
// PR!=NOC0ECK
//DD$ DD DSN=INTRN&DISP=S0R
//DD' DD S1SO#T=
//DD+ DD DSN=22V"ID&
// DISP=NE%&PSS&
// #NIT=S1SD&// SPCE=TRK&$&$
//PSTEP* EXEC P-!=PRO-*&TI!E=,//DD, DD DSN=22V"ID&
// DISP=O"D&DE"ETE
//DD7 DD S1SO#T=
Unit: Modifying DD Parameters Topic: Sequencing Multiple Parameters
Conept"
z/OS MVS JCL Intermediate
-
8/21/2019 JCLb Unit 4
64/70
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 84 o% &0
2efer to the previous e/amp"e' #hich of the fo""o!ing 3C4 statements !ou"d you need
!hen you invo$e T2*7S*CT)
. n 11C "tatement ith a $>M parameter o#erride
B. n o#erride ** "tatement %or $S)1$2.**8
C. n addition ** "tatement %or $S)1$?
*. n o#erride ** "tatement %or $S)1$?.**?
*re #e on Trac$)
Unit: Modifying DD Parameters Topic: Sequencing Multiple Parameters
>e#ie
z/OS MVS JCL Intermediate
-
8/21/2019 JCLb Unit 4
65/70
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 87 o% &0
)he JCL +"ed to in#o5e )>(SC) i" "hon onthe right.
• )he $>M parameter #a!+e ha" 6een
o#erridden to CK1C
• )he o#erride %or **? in "tep $S)1$? i"
"pei%ied
• )he addition "tatement **2 %or "tep
$S)1$? i" "pei%ied
• )he o#erride "tatement %or **8 in "tep
$S)1$2 i" "pei%ied
Se,uencing 2u"es . *n E/amp"e
//3STEP EXEC TRNSCT&
// PR!.PSTEP$=C0ECK
//PSTEP$.DD$ DD DSN=!1DT
//PSTEP$.DD* DD DSN=CKDT&
// DISP=S0R
//PSTEP*.DD7 DD DSN=INVOICE&
// DISP=NE%&CT"-&// #NIT=''()&
// VO"=SER=7(*("&// SPCE=TRK&$)
Unit: Modifying DD Parameters Topic: Sequencing Multiple Parameters
Conept"
z/OS MVS JCL Intermediate
-
8/21/2019 JCLb Unit 4
66/70
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 88 o% &0
Shorthand %orm o% oding m+!tip!e o#erride andaddition ** "tatement" an 6e +"ed in the
proed+re "tep "e-+ene.
)o ode the "horthand %orm
•
-
8/21/2019 JCLb Unit 4
67/70
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 8& o% &0
The procedure named #EE@45 is sho!n be"o!'
//S$ EXEC P-!=PROCESS&TI!E=$&')
//DD$ DD DSN=!1DT&DISP=S0R
...
//S* EXEC P-!=4I""
//DD' DD DSN=22TE!P&
// DISP=NE%&DE"ETE
...
Code the EXEC statement re,uired to passA
a' *2M va"ue of 5ES to the program named 2OCESS
b' Impose a CU time "imit of 8 minutes for e/ecution of the program named 6I44
c' Use the insta""ation(define time defau"t for the program named 2OCESS
//3STEP EXEC :::::::::::::::::::::::::
*re #e on Trac$)
Unit: Modifying DD Parameters Topic: Sequencing Multiple Parameters
>e#ie
z/OS MVS JCL Intermediate
-
8/21/2019 JCLb Unit 4
68/70
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 8: o% &0
The procedure named #EE@45 is sho!n be"o!'
//S$ EXEC P-!=PROCESS&TI!E=$&')
//DD$ DD DSN=!1DT&DISP=S0R
...
//S* EXEC P-!=4I""
//DD' DD DSN=22TE!P&
// DISP=NE%&DE"ETE
...
Comp"ete the DD override statement to specify that 2OCESS obtain its input from a cata"oged
data set named 7E#D*T*'
::::::::::: DD DSN=NE%DT
*re #e on Trac$)
Unit: Modifying DD Parameters Topic: Sequencing Multiple Parameters
>e#ie
z/OS MVS JCL Intermediate
-
8/21/2019 JCLb Unit 4
69/70
© Copyright IBM Corp., 2000, 2004. !! right" re"er#ed. $age 8= o% &0
(o that yo+ ha#e omp!eted thi" topi, yo+ "ho+!d 6e a6!e to
• *i"+"" hat i" "e-+ening m+!tip!e parameter"
• Identi%y the r+!e" %or "e-+ening m+!tip!e parameter"
• '"e the "horthand %orm %or m+!tip!e o#erride **
"tatement"
Topic Summary
Unit: Modifying DD Parameters Topic: Sequencing Multiple Parameters
S+mmary
z/OS MVS JCL Intermediate
-
8/21/2019 JCLb Unit 4
70/70
(o that yo+ ha#e omp!eted thi" +nit, yo+ "ho+!d 6e a6!e to
• O#erride or n+!!i%y parameter" on proed+re "tep **"tatement"
• dd ** "tatement" to a proed+re "tep i% it doe" nota!ready ontain a!! the ** "tatement" re-+ired %or
e3e+tion
• Corret!y "e-+ene m+!tip!e temporary a!teration" toproed+re "tep ** "tatement"
Unit Summary
Unit: Modifying DD Parameters