Job DSNTEJ6W

Job DSNTEJ6W is a JCL job that creates and initializes a sample SAF resource profile. DSNTEJ6W also prepares, binds, and executes DSN8ED6.

DSN8ED6 is a C language caller of the WLM_REFRESH stored procedure. It accepts the WLM environment name and, optionally, the subsystem ID and an SQLID to be in effect when WLM_REFRESH is invoked.

If a name is specified in the WLM ENVIRONMENT field on installation panel DSNTIPX, the installation CLIST customizes DSNTEJ6W to run in and recycle that WLM environment.

DSNTEJ6W also includes commented-out job steps that show:

  • How to prepare the DSNTWR external module from the DSNTWRS sample source code.
  • How to prepare the DSNTWRE module from the DSNTWRE sample source code. DSNTWRE is used by DSNTWR.

Do not uncomment and run these jobs unless you maintain a customized copy of DSNTWRS or DSNTWRE. If you do not customize the source code, use the Db2-supplied DSNTWR and DSNTWRE modules in the prefix.SDSNLOAD library and the package that is bound by installation job DSNTIJRT.

Job DSNTEJ6W uses the local Db2 subsystem as both the client and the server subsystem.

Before running job DSNTEJ6W, ensure that WLM_REFRESH has been created as part of the installation or migration process. If you are not authorized to create special resource profiles, have your system security administrator perform the first step of this job. The SQLID that is used to run DSNTEJ6W needs READ access to this profile.

If DSNTEJ6W completes successfully, it produces the return codes that are shown in the table below.

Table 1. DSNTEJ6W return codes
Step PROCSTEP Return code
PH06WS001 PC 0004
  ASM 0000
  LKED 0000
PH06WS011 PC 0000
  ASM 0000
  LKED 0000
PH06WS021   0000
PH06WS03 PC 0000
  C 0000
  PLKED2 0004
  LKED 0000
PH06WS04   0000 or 0004
PH06WS05   0000 or 0004
Notes:
  1. Return codes for PH06WS00, PH06WS01 and PH06WS02 are generated only if the job steps are uncommented.