How to pass execution options to an IMS tool which will be internally invoked by another IMS tool.

Document ID : KB000050176
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

If an IMS tool is invoked by another IMS tool (the execution options are via the DD statement DBOCTRL) those options can only be passed to the tool which would be executed first.

How can the execution options be passed to another (subsequently) invoked IMS tool?

Solution:

If execution options must be passed to an IMS tool which will be called internally by another IMS tool, the global options parameter DD statement IDIPARM needs to be used.

On the IDIPARM global options dataset, a member matching the corresponding function-related standard member name must be present and this member must have those options defined which need to be used for this execution.

For all function-related standard member names on IDIPARM: see Installation Guide, Appendix A, 'Global Parameter Members'.

Example:

DBO reload will be executed with option AUTOINDEXBUILD=YES to build all secondary indexes, which results in SIB being internally invoked by DBO.

To tell SIB to write execution progress information every 1000 records, the IDIPARM dataset must be used in the DBO reload job control, and on this dataset a member SIBIBLD (standard member name for INDEXBUILD) must be present, containing execution option PROGRESSREPORT=1000.