DBD Decode over a REXX

Document ID : KB000092855
Last Modified Date : 24/05/2018
Show Technical Document Details
Question:
When using CA Control Block Validation Manager (CBVM) for IMS for decode a DBD of a HALDB in BAtch and Online perform well.
How to include CBVM DECODE DBD(HALDB) into a REXX procedure for not running a batch job?
Answer:
In REXX simply allocate the necessary DD statements ICBCTRL, SRCLIB, DBDLIB and make your REXX write the control statement "DECODE DBD(HALDB)" in ICBCTRL DD, then just ADDRESS TSO "CALL 'imstoolsHLQ.CIMTLOAD(ITKICB)'" and it will throw the source code into SRCLIB DD.

Note: make sure the SRCLIB is a sequential dataset and not PDS.

 
Additional Information:
https://docops.ca.com/ca-database-management-solutions-for-ims-for-z-os/20-0/en/managing-database-performance/ca-database-analyzer-for-ims/using-the-control-block-validity-manager