I can't put my finger on it, but you seem to have a lot of lines that you don't 
need. In particular, you don't need a job card. Here's the wrapper for a simple 
SMF exit. It always assembles and links the module. A MOD statement is implied 
by the JCLIN. 

//SMPPTFIN DD   DATA,DLM=$$                           
++USERMOD (SMFACT1) REWORK(2014171) .                 
++VER (Z038)  FMID (HBB7790) .                        
++JCLIN .                                             
//SMFACT1  EXEC LINKS,PARM='XREF,LIST,LET,NCAL,RENT'  
//AOSB3    DD DISP=SHR,DSN=SYS1.AOSB3                 
//SYSLMOD  DD DISP=SHR,DSN=SYS1.LINKLIB               
//SYSLIN   DD *                                       
  INCLUDE AOSB3(SCEACTLG)                             
  MODE AMODE(31) RMODE(ANY)                           
  NAME SCEACTLG(R)                                    
++SRC(SCEACTLG) DISTLIB(ASAMPLIB) .                   
  full asm source goes here
$$
.
.
J.O.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler 
SHARE MVS Program Co-Manager
323-715-0595 Mobile
626-543-6132 Office ⇐=== NEW
[email protected]


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Jesse 1 Robinson
Sent: Monday, August 28, 2017 2:12 PM
To: [email protected]
Subject: (External):Re: Linking module in SMP/E with ++JCL

I don't know what messages you are seeing, but we have several analogous 
usermods. First problem I see is that the +USERMOD is missing a closing period. 
++JCLIN is a separate statement that should also have its own period. 

.
.
J.O.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler 
SHARE MVS Program Co-Manager
323-715-0595 Mobile
626-543-6132 Office ⇐=== NEW
[email protected]


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Fred Kaptein
Sent: Monday, August 28, 2017 1:29 PM
To: [email protected]
Subject: (External):Linking module in SMP/E with ++JCL

Hello,
I am having problem applying a USERMOD when using SMP/E.
I have a ++JCLIN statement within the USERMOD to do a LINK.
The USERMOD RECEIVES and APPLYs okay, but the LINK is not done.
The JCL within the ++JCLIN statement is okay, I can run it outside of SMP/E and 
it LINKs successfully.

Can anyone tell me why the following usermod does not link.

++USERMOD (LM2TBT0)                                              
++VER (Z038) FMID(HDZ2210)                                       
++JCLIN.                                                         
//IGGPRE00 JOB (SOFTN002),'IGGPRE00 ',                           
//         CLASS=K,TIME=5,NOTIFY=&SYSUID,MSGCLASS=X              
//*                                                              
//* EDIT ASSEMBLE IGGPRE00 & LINK TO LPALIB                      
//*                                                              
//ACFLINK EXEC PGM=IEWL,         ACF2 MODULE LINK PROCEDURE      
//        PARM='RENT,LET,LIST,XREF,SIZE=(512K,96K)'              
//SYSLMOD DD DISP=SHR,DSN=SYS1.LPALIB                            
//SYSUT1 DD UNIT=SYSDA,SPACE=(TRK,(10,10))                       
//SYSPRINT DD SYSOUT=*                                           
//ACFMOD DD DISP=SHR,DSN=SYS2A.CA.LINKLIB                                    
//SYSLIN DD *                                                    
  INCLUDE ACFMOD(ACF$GCVT)                                             
  INCLUDE ACFMOD(ACF00GCB)                                             
  INCLUDE LPALIB(IGGPRE00)                                             
  ENTRY IGGPRE00                                                       
  NAME IGGPRE00(R)                                                     
++SRC(IGGPRE00) DISTLIB(AVPSSRC).                  
IGGPRE00 TITLE 'DF/DS PREPROCESSING EXIT FOR NEW DASD ALLOCATION'         
  "  source statements 


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to