Previous Topic: Linking to RHDCSDELNext Topic: Example


Parameters

DICTNAME

Specifies the dictionary name of the updatable DDLDML and DDLCAT areas to be scanned for security definitions associated with logically deleted users.

This is an 8-character field, left-justified, and padded with blanks. If DICTNAME is set to blanks, DC/UCF processes the updatable DDLDML and DDLCAT areas of the default dictionary for the system. If DICTNAME is set to CL8'*ALL', all DDLDML and DDLCAT areas in the DMCL are processed.

RETCODE

Specifies a fullword in which RHDCSDEL provides a return code. The possible return codes are as follows:

00

Specifies processing was successful. The OUTAREA contains informational messages DC048004 and DC048008.

04

Specifies processing was successful but contains warnings. The possible causes are as follows:

  • There were no logically deleted users to process. The OUTAREA contains informational message DC048002.
  • The OUTAREA is too small to contain all output messages.
08

Specifies a processing error. The possible causes are as follows:

  • The DICTNAME is invalid. The outarea contains error message DC048001.
  • An unexpected database error was encountered. The OUTAREA contains error message DC048003.
  • A BIND failed. The OUTAREA contains error message DC048004 or DC048006.
12

Specifies the fatal error, the DMCL module is invalid. The OUTAREA contains error message DC048007.

OUTAREA

Specifies an area where RHDCSDEL puts messages. The first fullword of the area must be initialized to the area length, which also includes the first fullword. Upon return, the first fullword contains the size of the messages. Each message is in the following format:

AL1(L'message),C'message'

Note: RETCODE is set to 04 if the output area is too small, unless a more severe error occurred.