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 region 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 region in the PAC using the CICS NEWCOPY command:
caspac -pMyPAC -aLoadCICS="c:\new files\acct.dll" -sredis,127.0.0.1:6741
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 region in the PAC using a CICS NEWCOPY command:
caspac -pMyPAC -aLoadCICS="c:\new files\*.*" -sredis,127.0.0.1:6741
The following removes acct.dll from the SOR represented by the Redis server located at 127.0.0.1 on port 6741:
caspac -pMyPAC -aDelete=CICS@acct.dll -sredis,127.0.0.1:6741
The following lists user programs that have been uploaded into the SOR:
caspac -pMyPAC -aList=* -sredis,127.0.0.1:6741
See caspac for more information.