DSNU023I csect-name - A WLM ENVIRONMENT FOR A UTILITIES STORED PROCEDURE USES A SYSIN DATA SET WITH RECFM=recfm AND LRECL=lrecl. THOSE DATA SET CHARACTERISTICS ARE INCORRECT FOR UTILITIES.

Explanation

One of the following Db2-supplied utility stored procedures invoked a utility:

  • DSNUTILS
  • DSNUTILU
  • DSNUTILV

DSNUTILU stored procedure invoked a utility. Utilities that run under the utility stored procedures require that the SYSIN data set is defined with a record format of V or VB, and a record length of 32708. A routine that ran in the stored procedure address space before DSNUTILU set the record format or record length to other values.

csect-name
The name of the control section that issued the message.
recfm
The record format of the SYSIN data set.
lrecl
The record length of the SYSIN data set.

System action

The utility that the utility stored procedure invoked does not run.

User response

Run the VARY REFRESH command to refresh the WLM environment. Then rerun the application that calls the utility stored procedure.

To prevent the problem in the future, take one of the following actions:

  • Use the WLM environment only for running the utility stored procedures.
  • Add a SYSIN DD statement like the following one to the WLM environment startup procedure, to set the record format and record length to the correct values:
    //SYSIN    DD    UNIT=SYSDA,SPACE=(4000,(20,20),,,ROUND),
    //         DCB=(RECFM=V,LRECL=32708)

Severity

8 (error)