In order to do this, you first need to install the exits using SMP/E. I
prefer to keep the source separate in a PDS rather than inline to the
usermod. Before attempting to apply the usermod, you need to create
DDDEFs for the source library and any site specific macro libraries.
Then you update the SYSLIB DDDEF so that your macro libraries get used
during assembly. The usermod itself is relatively simple:
++USERMOD(xx).
++VER FMID(xx) PRE(yy).
++JCLIN.
// job card
// lked execute card
//SYSLMOD dd card (llq of dummy dsn matches dddef name)
INCLUDE dddef(member)
NAME member(R)
/*
++SRC(xx) DISTLIB(yy) DISTMOD(zz) TXLIB(dddef).
Since you shouldn't accept usermods, yy and zz are only for syntax
checking.
Once you have the source in SMP/E, you can use UCLIN like
ADD MAC(xx) GENASM(yy).
to tell SMP/E to reassemble yy whenever macro xx changes.
-----Original Message-----
From: George Dranes [mailto:snip]
Sent: Monday, September 10, 2007 3:02 PM
To: [email protected]
Subject: JES2 Exits and SMP/E
We only use 2 exits in JES2 so I've always just re-assembled these after
maintenance has been applied. I was wondering if anyone has an easy way
of using SMP/E to apply these if maintenance changes the JES2 macros?
I'm just not real handy creating usermods. The 2 exits we use are
HASX01B and HASX15A. Thanks for any help!
----------------------------------------------------------------------
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