Where should the CA Datacom DBUTLTY DEFAULT and FORCE functions be coded? For example:
If specified in the SYSIN it fails with:
DB10007E - INVALID FUNCTION DEFAULT
The documentation indicates an additional or alternate SYSIN needs to be used.
What is the additional or alternate SYSIN?
Release : 15.1
Component : CA DATACOM/DB
The DEFAULT and FORCE functions are coded in the additional SYSIN which has a DD name of SYSIN1ST. It is used to override the DBIN1PR module options.
For the override to be processed, a DBIN1PR module first needs to be created. If there is no DBIN1PR module the SYSIN1ST DD options are not processed.
The DBUTLTY DEFAULT and FORCE as well as SET functions can also be coded in the DBIN1PR module.
The instructions to create a DBIN1PR module is in the CA Datacom documentation in section Debugging Using an Additional SYSIN with the DBUTLTY SET Function
Code the source like this:
IN1 TITLE 'DEFINE ALTERNATE SYSIN'
DBUTLTY_IN1=('SET OPTION1=ECHO_FUNCTIONS', X
Then assemble and link the module into the CUSLIB,
In the DBUTLTY JCL code as follows:
//SYSIN1ST DD *
//SYSIN DD *
The output will show:
*****- NOTE -***** OPTION2=FORMAT2 DB10028I - DBIN1PR DEFAULT APPLIED