Issuing IMS commands from the Recovery utility job
The IMS Command Entry function allows you to issue any IMS command during the Recovery utility processing.
You must generate a PSB and transaction during installation to use this function. You cannot issue IMS commands if the Recovery utility is running under the IMS region controller (DFSRRC00).
The following figure shows the flow of the IMS Command Entry function.
Procedures (Issuing IMS commands)
The RVPSYSIN control statement command that is used to invoke an IMS command is IMS. The only valid parameter of the IMS command is CMD, and the parameter value is the IMS command. You must enclose the IMS command in parentheses and, if it contains any spaces, enclose it within single quotes:
If single quotes (‘) are part of the IMS command you want to issue, enclose the entire command in double quotes ('):
Installing the BMP for the IMS Command Entry feature
If you want to use the IMS Command Entry feature, you must install the BMP.
If you plan to run multiple Recovery utility jobs concurrently, you must define multiple transactions for the AOI. Only one job at a time can use a transaction; any others that attempt to use the same transaction will abend. The job uses the transaction specified with the TRAN keyword specified during customization.
To install the BMP for the IMS Command Entry feature, perform the following steps:
Run a PSB and ACB generation. Use member ICPPSB of the sample library as a model PSB for the generation:
PSBGEN PSBNAME=DBU$IMS,LANG=COBOL,IOASIZE=512
ENDDefine the PSB and transaction code to your IMS/DC system and modify your IMS system security. Use member RVPSTG1 of the sample library as a model for the PSB and transaction code definition. You can change the variables DBU$IMS and RVPTRAN to any valid name.
APPLCTN PSB=DBU$IMS, X
SCHDTYP=PARALLEL, X
PGMTYPE=(BATCH)
TRANSACT CODE=RVPTRAN, X
MSGTYPE=(SNGLSEG,NONRESPONSE), X
MODE=SNGLUse member RVPTCMD of the sample library as a model for the security modification:
)( CTRANS RVPTRAN
TCOMMAND *If you have the BMC DELTA IMSDB/DC or BMC AMI Change Manager Virtual Terminal for IMS product, you can use its PSB, transaction, and security profile as a prototype for generating the PSB, transaction, and security for the BMP. You can also use DELTA IMS to do the generation. See the DELTA IMS documentation set for instructions.
Related topic