On Thu, 11 Sep 2008 09:26:05 -0700, Gibney, Dave <[EMAIL PROTECTED]> wrote:
> I did try that. None of the macros called by $MODULE were detected >and GENASM'd. And getting the associated with the exit is the whole >point of the exercise. What in you code those macros in a dsect? Or maybe in some code that you skip with an AIF, so you don't have to worry about the syntax.... -- Tom Marchant > >> -----Original Message----- >> From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On >> Behalf Of Big Iron >> Sent: Thursday, September 11, 2008 7:10 AM >> To: [email protected] >> Subject: Re: SMP/E GIM44402W >> >> 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=&&amp;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 > >---------------------------------------------------------------------- >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 ---------------------------------------------------------------------- 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

