DFHDPLOY introduced with CICS TS V5.3 allows simple JCL scripts to be written to deploy and undeploy CICS bundles and CICS applications. However, until now 3rd party tools such as thee IBM CICS TS plug-in for UrbanCode Deploy were required to update web service pipelines, and install new versions of CICS programs. APAR PI72104 has recently been released to address this issue through the support for the
PERFORM PIPELINE SCAN,
SET PROGRAM PHASEIN and
SET PROGRAM NEWCOPY commands in DFHDPLOY, using a syntax closely linked to that of the familiar CEMT transaction.
This new function is supported for all CICS TS V5 releases as part of the redistributable DFHDPLOY utility and provides the ability to quickly and easily build DevOps processes to update web service pipelines, and install new versions of CICS programs into running CICS regions.
An example of these commands as part of a DFHDPLOY script is shown below:
*==================================================================== * Change the instance of an installed PROGRAM, in a CICS system or * group of CICS systems. Use this command with the PHASEIN option * to phase in a new version of a PROGRAM without disrupting active * tasks or NEWCOPY option to use a new copy of the PROGRAM when the * PROGRAM ceases to be in use by any transaction. * SET PROGRAM(PROGRAM1) SCOPE(GROUP1) PHASEIN; * SET PROGRAM(PROGRAM2) SCOPE(GROUP1) NEWCOPY; * *==================================================================== * Use this command with the SCAN option to initiate a scan * of the web service binding directory that is specified in the * WSDIR attribute of the PIPELINE. * PERFORM PIPELINE(PIPENAME) SCOPE(GROUP1) SCAN; * *====================================================================