The following Smart/PRECOMPILER step does not work correctly when it is included in the Endevor processor to compile the Smart/RESTART Jobs when the default Smart/PRECOMPILER options have to be changed with the PARM='...' card.
//SRSPC EXEC PGM=SRSPC,MAXRC=4,PARM='HOST(IBMCOB),CAF(TSO)'
//STEPLIB DD DISP=SHR,DSN=&RAIHLQ..CRAILOAD
//SRSLIB DD DISP=SHR,DSN=&RAIHLQ..CRAICOBI
//SRSIN DD DISP=(MOD,DELETE),DSN=&&ELMTMP
//SRSOUT DD DSN=&&SOURCE,DISP=(NEW,PASS),UNIT=SYSDA,
// SPACE=(CYL,(15,5)),
// DCB=(RECFM=FB,BLKSIZE=27920,LRECL=80)
//SRSPRINT DD DSN=&&SRSLIST,DISP=(OLD,PASS)
//*
The Endevor processor does not read the PARM='HOST(IBMCOB),CAF(TSO)' card and in the Smart/PRECOMPILER output there is not any reference to HOST(IBMCOB),CAF(TSO) parameters.
In the Smart/PRECOMPILER output the following is displayed:
Options specified:
Options used:
HOST(IBMCOB) S O FLAG(I) TRACE(N) CAF(SMARTRRS)
MARGINS(8 ,72) RM(AUTO) STORAGE_RANGE(ALL) PRECOMPILE(YES) IO_CONVERT(NONE) WTO(NO)
CASE(NONE) REOPEN(NO) APPLY(YES) SAVE_RESTORE(U) RESTART_RC(YES) PLI_RETCODE(YES)
RESIDENT(Y)
The HOST(IBMCOB),CAF(TSO) parameters should be displayed in the 'Options specified' section.
Additionally the CAF(SMARTRRS) parameter in the 'Options used' section is incorrect as it should be CAF(TSO) parameter.
The Endevor processor has to be updated with the following statements in the Smart/PRECOMPILER step to change the default options and work properly with the Smart/RESTART Jobs.
//SRSPC EXEC PGM=SRSPC,MAXRC=4
//STEPLIB DD DISP=SHR,DSN=&RAIHLQ..CRAILOAD
//SRSLIB DD DISP=SHR,DSN=&RAIHLQ..CRAICOBI
//SRSIN DD DISP=(MOD,DELETE),DSN=&&ELMTMP
//SRSOUT DD DSN=&&SOURCE,DISP=(NEW,PASS),UNIT=SYSDA,
// SPACE=(CYL,(15,5)),
// DCB=(RECFM=FB,BLKSIZE=27920,LRECL=80)
//SRSPRINT DD DSN=&&SRSLIST,DISP=(OLD,PASS)
//RAINPUT DD *
HOST(IBMCOB)
CAF(TSO)
/*
//*
On this way the parameters to change the default options will be sent to the Smart/PRECOMPILER thru the RAINPUT DD instead of the PARM='HOST(IBMCOB),CAF(TSO)' card. With the RAINPUT DD the following options are displayed in the Smart/PRECOMPILER output.
Options specified:
HOST(IBMCOB),CAF(TSO),
Options used:
HOST(IBMCOB) S O FLAG(I) TRACE(N) CAF(TSO)
MARGINS(8 ,72) RM(AUTO) STORAGE_RANGE(ALL) PRECOMPILE(YES) IO_CONVERT(NONE) WTO(NO)
CASE(NONE) REOPEN(NO) APPLY(YES) SAVE_RESTORE(U) RESTART_RC(YES) PLI_RETCODE(YES)
RESIDENT(Y)