VSE JOB2 IDMSVCTB link edit PHASE fails with error 2192I PHASE*** INVALID FOR OPTION CATAL
For example:
// LIBDEF *,CATALOG=CAIDMS.CUSTOM
// OPTION CATAL
INCLUDE IDMSVCTB
// EXEC LNKEDT
1S54I PHASE $LNKEDT IS TO BE FETCHED FROM IJSYSRS.SYSLIB
INCLUDE IDMSVCTB
** MODULE IDMSVCTB 2021-10-07 08.29 2021-10-18 10.55 INCLUDED FROM CAIDMS .CUSTOM VOLID=VSE29D
ENTRY
10/18/2021 PHASE XFR-AD LOCORE HICORE CSECT/ LOADED RELOC. PARTIT. PHASE TAKEN AMODE/RMODE
ENTRY AT FACTOR OFFSET OFFSET FROM
---------------------------------------------------------------------------------------------------------------
PHASE*** 500078 500078 500293 31 ANY RELOCATABLE
---------------------------------------------------------------------------------------------------------------
IDMSVCTB 500078 500078 000000 000000 IDMSVCTB ANY ANY
*SVTBEP1 500128
2192I PHASE*** INVALID FOR OPTION CATAL
PHASE(S) NOT CATALOGED DUE TO ERROR
1S55I LAST RETURN CODE WAS 0016
2192I Explanation PHASE*** INVALID FOR OPTION CATAL
OPTION CATAL was specified, but the PHASE statement is missing.
The linkage editor creates a dummy PHASE statement (using PHASE*** as the name of the phase). Then the job is terminated with RC=16.
The program with the phase name PHASE*** is not cataloged. Operator response None. Programmer response Insert a PHASE statement
at the beginning of the object deck and rerun the job.
Release : 18.5
Component :
The error message 2192I PHASE*** INVALID FOR OPTION CATAL
Tells us that the OPTION CATAL was specified, but the PHASE statement is missing.
In the Task output we see:
// LIBDEF *,CATALOG=CAIDMS.CUSTOM
// OPTION CATAL
INCLUDE IDMSVCTB
// EXEC LNKEDT
As per the IDMS manual, Link the IDMSVCTB program using the following statements should be coded
in place of the Linkage editor control statements:
PHASE IDMSVCTB,*,SVA
INCLUDE idmsvctb
ENTRY SVTBEP1
For detailed instructions please see: Assembling and link editing IDMSVCTB