CL Command Reference - SNDDSTQ

CL Command List > SNDDSTQ Reference

Description:

The Send Distribution Queue (SNDDSTQ) command is used:
. To send a distribution queue¡¯s entries when the distribution queue is configured to be manually started but no operator is available.
. To override any distribution queue scheduling attributes and begin sending a queue¡¯s entries immediately.
. To restart a SNADS sender job that failed abnormally.

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:

. This command is shipped with public *EXCLUDE authority, and the QPGMR and QSYSOPR user profiles have private authorities to use the command.

. Messages that report errors about distribution queues may display or print different characters than you entered for the distribution queue name because of internal system transformations. Similarly (depending on the language used for the work station), the internal value for a distribution queue name may differ from the characters shown for the Work with Distribution Queue (WRKDSTQ) command. An error may be reported if the character-string value specified for the Distribution queue prompt (DSTQ parameter) does not match the rules for an internal distribution queue value or if it does not match the internal value for any defined distribution queue (ignoring case differences).


Examples:

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.