On Tue, 27 Dec 2016 14:29:34 -0800, Gerhard Adam <wrote:

>++JCLIN.
>//   EXEC  PGM=IEBCOPY
>//DISTDD   DD  DSN=distribution library,DISP=SHR   [NOTE: make the DD
>statement that on the DISTMOD parameter].
>//TARGLIB  DD  DSN=target.library,DISP=SHR      [NOTE:  DD statement must
>reflect target library]

The above two DD statements are potentially confusing. In fact, they are 
not needed. SMP/E does not process them

>//SYSIN  DD  *
>   COPY OUTDD=TARGLIB,INDD=DISTDD

SMP/E uses the value in OUTDD (TARGLIB) as the DDNAME of the target 
library, as defined in a DDDEF or supplied at APPLY time. The value in 
INDD (DISTDD) is likewise the DDNAME of the distribution library containing 
the link edited module, also specified in DISPMOD on the ++SRC

>/*
>++SRC(FMN2POPT) TXLIB(FMN2SRC) DISTLIB(AFMNSAM1) DISTMOD(distribution load
>library).
>   ***   Source code follows  ***

-- 
Tom Marchant

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to