How to SMP/e Apply a PTF with more than one ++HOLD?

Document ID : KB000021472
Last Modified Date : 14/02/2018
Show Technical Document Details

Question:

How to SMP/e Apply a PTF with more than one ++HOLD?

When attempt to apply a PTF with multiple ++HOLDs, SMP/e gives the following errors when either of the ++HOLD REASONs is specified.

 GIM30206E ** APPLY PROCESSING FAILED FOR SYSMOD ptf. HOLD REASON IDS WERE NOT RESOLVED.
 GIM35965I SYSTEM HOLD DOC ORIGINATED BY SYSMOD ptf WAS NOT RESOLVED. 
 GIM24801S ** NO SYSMODS SATISFIED THE OPERANDS SPECIFIED ON THE APPLY COMMAND.

PTF RO42984 is an example with two ++HOLDs of different REASONs:

 ++HOLD (RO42984) SYSTEM REASON(DDDEF)   FMID(CYTB000) DATE(11262)
     COMMENT(...
            ).
 ++HOLD (RO42984) SYSTEM REASON(DOC)  FMID(CYTB000) DATE(11262)     
     COMMENT(...
            ).

SMP/e APPLY will error if try to apply with either one of the REASONs:

BYPASS(HOLDSYSTEM(DDDEF))
or 
BYPASS(HOLDSYSTEM(DOC)).

Answer: 

To apply this PTF via SMP/e, both REASONs need to be specified in the BYPASS:

 //SMPCNTL DD *        
 SET BDY(DCOMTGT) . 
 APPLY SELECT ( RO42984 )
    BYPASS(HOLDSYSTEM(DDDEF,DOC)). 
 /*

NOTE: CA Mainframe Software Manager (CSM) handles multiple ++HOLD for you (CSM is so smart!).

The example PTF RO42984 was applied via CSM to a CA Datacom Server 11.0 SMP/e CSI. The CSM task generated the following, combined BYPASS HOLDSYSTEM (as well as the determination of the needed PREs):

SET
BOUNDARY(DCOMTGT).
GIM20501I SET PROCESSING IS COMPLETE. THE HIGHEST RETURN CODE WAS 00.
APPLY
SELECT(RO18467,RO18468,RO18469,RO29104,RO29105,RO29107,RO29106,RO29108,RO42984)
BYPASS(HOLDSYSTEM(DDDEF(RO42984),DOC(RO42984))) . 

Additional Information:
CA Mainframe Software Manager (CSM) handles multiple ++HOLD for you (CSM is so smart!).
For more information on CSM, go to the CA Chorus™ Software Manager product page on Support.ca.com
http://www.ca.com/us/support/ca-support-online/support-by-product/ca-chorus-software-manager.aspx