PSF for z/OS: Customization
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Link-editing a C exit

PSF for z/OS: Customization
S550-0427-04

Link-editing a C exit

Figure 74 shows sample JCL statements that can be used as a guideline for link-editing a C exit on z/OS®.

Figure 74. Sample JCL for link-editing a C exit
//STEP1  EXEC PGM=IEWL,                                    
//  PARM='MAP,LET,LIST,XREF,RENT,AMODE=31,RMODE=ANY',      
//  REGION=512K                                            
//SYSUT1   DD  UNIT=SYSDA,SPACE=(CYL,(1,1))                
//SYSPRINT DD  SYSOUT=*                                    
//SYSLMOD  DD  DSN=SYS1.PSF.EXITLIB,DISP=SHR               
//SYSLIB   DD  DSN=CEE.SCEELKED,DISP=SHR                   
//SYSLIN   DD  DSN=PSFMVS.EXIT.PRELINK(APSUC01),DISP=SHR   
//         DD  *                                           
 ENTRY APSUC01                                             
 NAME APSUC01(R)                                           
/*                                                         
Notes:
  1. PSFMVS.EXIT.PRELINK is the data set that contains the C exit code to be linked. The code is placed in this data set by the prelink JCL (see Figure 73).
  2. C exit APSUC01 is link-edited into data set SYS1.PSF.EXITLIB.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014