To remove an optional FMID that was installed with a product, define a dummy function SYSMOD(in this example DELTFUN), that deletes the optional FMID, (in this example CAX1G02) to be deleted.
Next receive, apply, and accept the dummy function DELTFUN, and run UCLIN to delete the SYSMOD entries for the deleted FMID CAX1G02 and for the dummy function DELTFUN.
Release : 16.0, 17.0
Sample job to remove an optional FMID that was installed with a product, define a dummy function SYSMOD, (in this example DELTFUN), that deletes the optional FMID, (in this example CAX1G02), to be deleted. Next receive, apply, and accept the dummy function DELTFUN, and run UCLIN to delete the SYSMOD entries for the deleted FMID CAX1G02 and for the dummy function DELTFUN.
In this example DELTFUN is the dummy sysmod, CAX1G02 is the optional FMID to be deleted.
//SMPDELJ1 JOB 9999999999,CLASS=A
//*** Remove FMID JOB 1 ***
//REJECT EXEC PGM=GIMSMP,PARM='DATE=U',REGION=0M
//SMPCSI DD DISP=SHR,DSN=your.product.CSI
//SMPPTFIN DD DATA,DLM=$$
++FUNCTION(DELTFUN) /* Any valid unique SYSMOD ID. */.
++VER(Z038) /* For SREL Z038 (MVS products). */
DELETE(CAX1G02) /* FMID to be removed. */.
$$
//SMPHOLD DD DUMMY
//SMPCNTL DD *
SET BDY(GLOBAL) /* Set to global zone. */.
RECEIVE S(DELTFUN) /* Receive the DELTFUN. */.
SET BDY(CAIT0) /* Set to target lib. */.
APPLY S(DELFUNC) /* Apply to delete function. */.
SET BDY(CAID0) /* Set to dist lib. */.
ACCEPT S(DELFUNC) /* Accept delete function. */.
SET BDY(CAIT0) /* Set to target lib. */.
UCLIN.
DEL SYSMOD(DELTFUN) /* Delete SYSMOD DELTFUN entries */.
DEL SYSMOD(CAX1G02) /* Delete SYSMOD for FMID. */.
ENDUCL.
SET BDY(CAID0) /* Set to dist lib. */.
UCLIN.
DEL SYSMOD(DELTFUN) /* Delete SYSMOD DELTFUN entries */.
DEL SYSMOD(CAX1G02) /* Delete SYSMOD for FMID. */.
ENDUCL .
/*
//SMPDELJ2 JOB 9999999999,CLASS=A
//*** Remove FMID JOB 2 ***
//********************************************************
//REJECT EXEC PGM=GIMSMP,PARM='DATE=U',REGION=0M
//SMPCSI DD DISP=SHR,DSN=your.product.CSI
//SMPPTFIN DD DUMMY
//SMPHOLD DD DUMMY
//SMPCNTL DD *
SET BDY(GLOBAL) /* Set to global zone. */.
REJECT HOLDDATA NOFMID /* Reject HOLDDATA, */
PRODUCT /* PRODUCT info for */
DELETEFMID /* the deleted FMODs. */
(DELTFUN CAX1G02) /* Delete the FMIDs. */.
/*
ACF2 FMIDs:
FMIDs for ACF2 r16
CAX1G00 /*CA-ACF2-MVS
CAX1G01 /*CA-ACF2-MVS JES2
CAX1G02 /*CA-ACF2-MVS JES3
CAX1G03 /*CA-ACF2-MVS CICS
CAX1G04 /*CA-ACF2-MVS IMS
CAX1G05 /*CA-ACF2-MVS DLI
FMIDs for ACF2 r17
CAX1H00 /*ACF2 for z/OS
CAX1H01 /*ACF2 for z/OS JES2
CAX1H02 /*ACF2 for z/OS JES3PLUS
CAX1H03 /*ACF2 for z/OS CICS
CAX1H04 /*ACF2 for z/OS IMS
CAX1H05 /*ACF2 for z/OS DLI