When a CICS NEWCOPY command is executed in a Performance and Availability Cluster (PAC), the PAC will issue the command to all the enterprise server instances in the PAC. The new program is added to the Scale-Out Repository (SOR). When the enterprise server instance executes the CICS NEWCOPY, it takes the new program from the SOR. Programs and files can be added, removed, and listed in the SOR using the caspac utility.
For example, the following loads acct.dll into the SOR represented by the Redis server located at 127.0.0.1 on port 6741. The acct.dll can then be deployed to all active enterprise server instances in the PAC using the CICS NEWCOPY command:
caspac -aLoadCICS="c:\new files\acct.dll" -sredis,127.0.0.1:6741 -uSYSAD –pSYSAD
The following loads all files under C:\new_files into the SOR represented by the Redis server located at 127.0.0.1 on port 6741. All programs that were uploaded can be deployed to all active enterprise server instances in the PAC using a CICS NEWCOPY command:
caspac -aLoadCICS="c:\new files\*.*" -sredis,127.0.0.1:6741 -uSYSAD –pSYSAD
The following removes acct.dll from the SOR represented by the Redis server located at 127.0.0.1 on port 6741:
caspac -aDelete=acct.dll -sredis,127.0.0.1:6741 -uSYSAD –pSYSAD
The following lists user programs that have been uploaded into the SOR:
caspac -aList=* -sredis,127.0.0.1:6741 -uSYSAD –pSYSAD
See caspac for more information.