On Fri, 13 Mar 2015 15:26:38 +0530, Mainframe Mainframe wrote:

(quote from SMP/E User's Guide snipped)
>
>//SMPOUT   DD SYSOUT=*
>//SMPRPT   DD SYSOUT=*
>//SMPLOG   DD SYSOUT=*
>//SMPLOGA  DD SYSOUT=*
>//SYSPRINT DD SYSOUT=*
>//SMPCNTL  DD *
>  SET BDY(CIC52T) OPTIONS(CICSOPT).
>  LINK CHECK
>    LMODS CALLLIBS(SCEELKED).
>
>I never used this before. Can you please help me understand that what this
>JCL will be doing .

I've never used this before either, but the description in the 
SMP/E Commands manual seems pretty clear to me.
Did you read that?

<quote>
LMODS specify the load modules that should be relinked. Load 
modules specified on the LMODS operand are relinked in addition 
to any that matched the criteria of the CALLLIBS operand.

If you want to relink a particular set of load modules, specify their 
names on the LMODS operand.

If you want to relink all load modules whose LMOD entries contain 
a CALLLIBS subentry list, do not specify any names on the LMODS 
operand.

LMODS is a required operand for the LINK LMODS command, and it 
is mutually exclusive with MODULE, FROMZONE and INTOLMOD.


CALLLIBS requests relinks for load modules whose LMOD entries 
contain a CALLLIBS subentry list. The specified name is a DDDEF 
named in an LMOD entry's CALLLIBS subentry list.

Load modules that match the criteria of the CALLLIBS operand are 
relinked in addition to any load modules specified on the LMODS 
operand.

If you want to relink only those load modules with particular 
CALLLIBS subentries, specify CALLLIBS and the specific names. If 
you want to relink all load modules with CALLLIBS subentries, 
specify CALLLIBS without any names.

CALLLIBS is mutually exclusive with MODULE, FROMZONE and 
INTOLMOD. CALLLIBS is a required operand for the LINK LMODS 
command when the LMODS operand is specified without a list of 
load module names. If a list of load module names is specified on 
the LMODS operand, then the CALLLIBS operand is not required.
</quote>

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