If the only purpose of the ASM step is to force a reassembly when one of the 
used macros is updated by SMPE, I would recommend using the ASSEM operand on 
the ADD MAC statement processed by the UCLIN command.  It would probably take 
only a very minor modification to your REXX.

As it stands, SMPE apparently believes that your inline assembler input is 
independent of your SRC input and reassembles only the one it thinks was 
impacted.

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of 
Gibney, Dave
Sent: Tuesday, March 02, 2010 11:33 AM
To: [email protected]
Subject: Improving my SMP/E usermod procedure

I visit this every time I do an upgrade. z/OS 1.9 to z/OS 1.11 this
time.
My current usermods for JES exits look like: Concerns after the usermod
:)

++USERMOD(TSTMOD2) REWORK(2010060) .
++VER(Z038)  FMID(HJE7760)  .

++JCLIN .
//ASM     EXEC PGM=IEV90
//SYSPUNCH DD DSN=&TEMP(TST2JOBC),DISP=(,PASS)
//SYSIN   DD *
ZST2JOBC     CSECT
             $CADDR
             $CALL
    .......
             SPLEVEL

             SYSSTATE

             END
*
//LINK    EXEC PGM=IEWL,PARM='LET,LIST,XREF,NCAL,RENT'
//SYSLMOD DD DSN=SYS1.SHASLNKE,DISP=SHR
//SYSLIN  DD *
 INCLUDE SYSPUNCH(TST2JOBC)
 NAME    ZST2JOBC(R)
/*
++SRC(TST2JOBC)  DISTLIB(AHASSRC) SYSLIB(SWSUSRC) .
TST2JOBC TITLE 'USER EXIT 2 MODULE -- PROLOG (MODULE COMMENT BLOCK)'
* WSU z/OS 1.7 Use Vanilla exit 2 from IBM. Actual work done in exit 52
* comments about SCHENV should be discounted
      ..........

I have a rexx that pulls data from the 'Macro and Copy Code Source
Summary' of an assemble of the source and generates the ++JCLIN.

This usermod works (FSVO works) in that it dutifully assembles and links
the exit into the desired library, while stashing the full source in the
SWSUSRC PDS.
When I later put maintenance on, the APPLY CHECK flags when there are
macro changes.

It doesn't work, in that when I proceed to APPLY maintenance, SMP/E
attempts to assemble the ++JCLIN, not the ++SRC.

What am I missing? I know one part is I only visit this area once a year
or less frequently. More a master of none than a JOAT :(

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

Reply via email to