Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Send Distribution Queue (SNDDSTQ) command is used:
The SNDDSTQ command is primarily intended for use in a batch CL program. The SNDDSTQ command enables the same functions as option 2 (Send distribution queue) on the Work with Distribution Queue (WRKDSTQ) command main list panel. The SNDDSTQ command allows the functions to be started from a batch job instead of interactively.
Distribution queue names are translated to the graphic character set and code page 930 500, using the job's coded character set identifier (CCSID).
Restrictions:
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
DSTQ | Distribution queue | Character value | Required, Positional 1 |
PTY | Priority | *NORMAL, *HIGH | Required, Positional 2 |
Top |
Specifies the name of the distribution queue that is sent. The queue must have been previously configured using the Configure Distribution Services (CFGDSTSRV) command or the Add Distribution Queue (ADDDSTQ) command.
This is a required parameter.
Top |
Specifies whether the normal priority or high priority portion of the specified queue is sent.
The possible values are:
Note: This value is not valid for a SystemView distribution services (SVDS) type of distribution queue.
This is a required parameter.
Top |
Example 1: Sending Distributions with Normal Priority
SNDDSTQ DSTQ(CHICAGO) PTY(*NORMAL)
This command sends distributions from the normal priority portion of the CHICAGO distribution queue.
Example 2: Sending Distributions with High Priority
SNDDSTQ DSTQ(ATLANTA) PTY(*HIGH)
This command sends distributions from the high priority portion of the ATLANTA distribution queue.
Top |
*ESCAPE Messages
Top |