DMSQWUID - Query Work Unit ID

Read syntax diagramSkip visual syntax diagram DMSQWUID , retcode , reascode , workunitid

Context

Work Unit Management: SFS and BFS

Call Format

The format for calling a CSL routine is language dependent. DMSQWUID is called only through DMSCSL. The routine name is the first parameter in DMSCSL’s parameter list:

DMSQWUID
(input, CHAR, 8) can be passed as a literal or in a variable.

For more information and examples of the call formats, see Calling VMLIB CSL Routines.

Purpose

Use the DMSQWUID routine to find out what the current default work unit identifier is.

Parameters

retcode
(output, INT, 4) is a variable for the return code from DMSQWUID. There are no error conditions returned by this routine, so the return code should always be 0.
reascode
(output, INT, 4) is a variable for the reason code from DMSQWUID. There are no error conditions returned by this routine, so the reason code should always be 0.
workunitid
(output, INT, 4) is a variable for returning the current default work unit ID.