caspac -a{action}=object -p{pacName} -s{store} -n{psorName}
The following actions support PAC administration:
Located an incompatible CSA record in the PSOR, a compatible upgrade is not possible.
The following actions support recovery:
This action generates a CSV file that can be used to manually recover the DEQs using dbfhadmin commands.
The following actions support program deployment:
To connect to a Redis SOR, for example:
redis,127.0.0.1:6741
To connect to a Coherence SOR, for example:
coherence,mfes-cache-config.xml,coherence.cluster=MyPAC_cluster,mfescache.wka.MyPAC_cluster=127.0.0.1:7574
When using Redis AUTH you will need to create a secret in the vault facility for each PSOR that is used as a reference using the -n option.
From Enterprise Developer 8.0, the PSOR stores are prefixed by the PAC name and a version number enabling you to run multiple PACs in the same PSOR, this simplifies the incompatible upgrade process.
The caspac utility enables you to add the PAC name as part of the command line parameters using -pPACName or if not specified using the ES_PAC environment variable.
caspac -pMyPAC -aLoadCics="c:\new files\acct.dll" -sredis,127.0.0.1:6741 -npsorName
caspac -pMyPAC -aLoadJes="c:\new files\*.*" -sredis,127.0.0.1:6741 -npsorName
caspac -pMyPAC -aLoad="c:\new files\*.*" -sredis,127.0.0.1:6741 -npsorName
caspac -pMyPAC -aDelete=acct.dll -sredis,127.0.0.1:6741 -npsorName
caspac -pMyPAC -aList=* -sredis,127.0.0.1:6741 -npsorName
caspac -aInitPac=MyPAC -sredis,127.0.0.1:6741 -npsorName
Alternatively, the following example uses Oracle Coherence with a cluster called MyPAC_cluster located at 127.0.0.1:
caspac -aInitPac=MyPAC -scoherence,,coherence.cluster=MyPAC_cluster,mfescache.wka.MyPAC_cluster=127.0.0.1
caspac -aStatus=MyPAC -sredis,127.0.0.1:6741 -npsorName
Alternatively, the following example returns the status of the PAC that uses Oracle Coherence with a cluster called MyPAC_cluster located at 127.0.0.1:
caspac -aStatus=MyPAC -scoherence,,coherence.cluster=MyPAC_cluster,mfescache.wka.MyPAC_cluster=127.0.0.1
caspac -aDump=MyPAC -sredis,127.0.0.1:6741 -npsorName
Alternatively, the following example creates a dump of the PAC that uses Oracle Coherence with a cluster called MyPAC_cluster located at 127.0.0.1:
caspac -aDump=MyPAC -scoherence,,coherence.cluster=MyPAC_cluster,mfescache.wka.MyPAC_cluster=127.0.0.1
caspac -aRestore=CasPAC_127.0.0.1_06741.rdmp -sredis,127.0.0.1:6741 -npsorName
caspac -aRestore=*.rdmp -sredis,127.0.0.1:6741 -npsorName
Alternatively, the following example restores a PAC from a dump file that matches the use of the * wildcard. The PAC has a PSOR that uses Oracle Coherence with a cluster called MyPAC_cluster located at 127.0.0.1:
caspac -aRestore=*.rdmp -scoherence,,coherence.cluster=MyPAC_cluster,mfescache.wka.MYPAC_cluster=127.0.0.1
caspac -aPacLog="c:\temp\PacLog.log" -sredis,127.0.0.1:6741 -npsorName
Alternatively, the following example writes a PAC log file to the folder and file specified from a PSOR that uses Oracle Coherence and has a cluster called MyPAC_cluster located at 127.0.0.1:
caspac -aPacLog=/tmp/paclog.log -scoherence,,coherence.cluster=MyPAC_cluster,mfescache.wka.MyPAC_cluster=127.0.0.1
caspac -aCheckCompat=MyPAC -sredis,127.0.0.1:6741
caspac -aSetMode=Running -sredis,127.0.0.1:6741 -npsorName
caspac -aSetMode=Quiesce -sredis,127.0.0.1:6741 -npsorName
caspac -pMyPAC -aCasDEQs="c:\temp\DEQ_report.csv" -sredis,127.0.0.1:6741 -npsorName
caspac -pMyPAC -aRecoverUUID=1059443BD0330489609618E90F76B91B -sredis,127.0.0.1:6741 -npsorName
caspac -aRemOldPAC=MyPAC -sredis,127.0.0.1:6741 –npsorName
caspac -aRemShrQueues -sredis,127.0.0.1:6741 -npsorName
caspac -pMyPAC -aRecoverLostUUID=hostname -sredis,127.0.0.1:6741 -npsorName
caspac -pMyPAC -aRetrieve=CICS@acct.dll -sredis,127.0.0.1:6741 -npsorName -o"c:\folder"