However, if you include the full source, won't SMP/E generate GENASM entries for all macros, not just the JES2 ones? I think that the latter may be the intent here. Also, will SMP/E detect macros that invoke other macros, like the JES2 $MODULE macro commonly used in JES2 exits?
Maybe one could provide some form of synthetic source code in the JCLIN which represents those macros which, if changed, would likely require the exit to be reassembled, Bill On Thu, 11 Sep 2008 08:47:46 -0400, Kurt Quackenbush <[EMAIL PROTECTED]> wrote: >> Creating the list of macros for the UCLIN step is a completely manual process - >> I don't know a way to automatically do this and skip the UCLIN step. I would >> be interested in hearing if someone else has a better idea! > >You can use additional JCLIN to avoid the UCLIN. Specifically, if you >include an assembly step in your JCLIN that contains the assembler >source inline, then SMP/E will scan the assembler source looking for >macros and create the GENASM subentries directly. > >Expanding upon Brian's example: > >++USERMOD(HASPUEX) REWORK(2008159). >++VER (Z038) FMID(HJE7740). >++JCLIN. >//ASSEM01 EXEC PGM=IEV90 >//SYSPUNCH DD DSN=&&PUNCH(HASPUEX) >//SYSIN DD * >(complete assembler source code containing macro references here) >/* >//LINK0002 EXEC PGM=IEWBLINK,PARM=('OPTIONS(GENOPTS)') >//GENOPTS DD * > RENT,REUS,REFR,NCAL >//SYSLMOD DD DSN=SYS1.SHASLNKE >//SYSLIN DD * > INCLUDE AHASMOD(HASPUEX) > NAME HASPUEX >++SRC (HASPUEX) SYSLIB(SHASSRC) DISTLIB(AHASSRC) . >(assembler source code here) > >Any macro references found in the inline assembler source will cause >GENASM subentries to be created in the corresponding MAC entries. > >Example #2 in the JCLIN chapter of the SMP/E Commands book also touches >upon this topic, albeit that example is much broader. Specifically in >that example check out the Assembler step A1. > >Kurt Quackenbush -- IBM, SMP/E Development > ---------------------------------------------------------------------- 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