Jobs DSNTEJ4C and DSNTEJ4P

Job DSNTEJ4C is for COBOL; DSNTEJ4P is for PL/I. Both jobs complete the same functions.

Jobs DSNTEJ4C and DSNTEJ4P complete the following tasks:

  • Precompile, compile, and link-edit the IMS online applications.
  • Bind the IMS online applications.
  • Create the message format service (MFS) panels for the online applications.
  • Run the required PSBGEN and ACBGEN.

Select the proper job and define the applications and transactions to IMS. Member DSN8FIMS in prefix.SDSNSAMP contains information to assist in the definition step.

The verification transactions are single mode, single segment, and nonconversational.

Recommendation: Use SSM error option R because the program handles any errors. A resource translation table is not required.

Invoke the transaction by using the FORMAT command. The programs accept several lines of input on the first panel and display the results after you press ENTER.

If DSNTEJ4C runs successfully, it produces the return codes that are shown in the following table.

Table 1. DSNTEJ4C return codes
Step PROCSTEP Return code
PH04CS01
PC
COB
PLKED1
LKED
0004
0000
0004
0004
PH04CS02
PC
COB
PLKED1
LKED
0000
0000
0004
0004
PH04CS03
PC
COB
PLKED1
LKED
0000
0000
0004
0004
PH04CS04   0000
PH04CS05   0000
PH04CS06
S1
S2
0000
0004
PH04CS07
S1
S2
0000
0004
PH04CS08
C
L
0000
0000
PH04CS09 G 0000
Note:
For DSNTEJ4C, the warning code that is expected from the precompiler step PH04CS01 is:
DB2 SQL PRECOMPILER     MESSAGES
DSNH0531 W   NO SQL STATEMENTS WERE FOUND

If DSNTEJ4P runs successfully, it produces the return codes that are shown in the following table.

Table 2. DSNTEJ4P return codes
Step PROCSTEP Return Code
PH04PS01
PPLI
PC
PLI
PLKED1
LKED
0000
0004
0004
0004
0004
PH04PS02
PPLI
PC
PLI
PLKED1
LKED
0000
0000
0004
0004
0004
PH04PS03
PPLI
PC
PLI
PLKED1
LKED
0000
0000
0004
0004
0004
PH04PS04
PPLI
PC
PLI
PLKED1
LKED
0000
0000
0004
0004
0004
PH04PS05
PPLI
PC
PLI
PLKED1
LKED
0000
0004
0004
0004
0004
PH04PS06
PPLI
PC
PLI
PLKED1
LKED
0000
0000
0004
0004
0004
PH04PS07
PPLI
PC
PLI
PLKED1
LKED
0000
0000
0004
0004
0004
PH04PS08   0000
PH04PS09   0000
PH04PS10
S1
S2
0000
0004
PH04PS11
S1
S2
0000
0004
PH04PS12
S1
S2
0000
0000 or 0004
PH04PS13
S1
S2
0000
0000 or 0004
PH04PS14
S1
S2
0000
0000 or 0004
PH04PS15
S1
S2
0000
0000 or 0004
PH04PS16
C
L
0000
0000
PH04PS17 G 0000
PH04PS18
C
L
0000
0000
PH04PS19 G 0000
PH04PS20
C
L
0000
0000
PH04PS21 G 0000
Note:
For DSNTEJ4P, the warning code expected from the precompiler step PH04PS01 is:
DB2 SQL PRECOMPILER     MESSAGES
DSNH0531 W   NO SQL STATEMENTS WERE FOUND

If either job DSNTEJ4C or job DSNTEJ4P fails or abends, rerun the jobs from the last successful step.