CL Command Reference - SNDDST

CL Command List > SNDDST Reference

Description:

The Send Distribution (SNDDST) command allows you to send a distribution to a user, to a list of users, or to a distribution list.

Restrictions:

. If you are working on behalf of another user, you must have been granted permission to work for that user through the Grant User Permission (GRTUSRPMN) command.

. You need to be enrolled in the system distribution directory.

. You cannot request personal distribution if you are working for another user.


Examples:

Example 1: Sending a Distribution on Behalf of Another User

SNDDST TYPE(*FILE) TOUSRID((JACKSON RCH38DB)) DOCTYPE(20000)
SYSCOD(BRANDX) DOCFILE(DEPT46ELIB/XTEXT) DOCMBR(GOLD1IPFS)
PTY(*HIGH) USRID(JACOBSON RCH38NBS) DSTD(¡¯IPFS FOR GOLD1 PROJECT¡¯)
CFMDEL(*YES) MSG(¡¯Update section 1.2.4. Return for final printing¡¯)

This command sends a distribution that is being sent by someone (such as a secretary) who is authorized to work on behalf of JACOBSON. The document being sent is a BRANDX text document that is sent to another user who also has the BRANDX text processor.



Example 2: Sending a Mail Log Entry

SNDDST TYPE(*DSTID) DSTID(¡¯NEWYORK SMITH 0204¡¯) DSTIDEXN(02)
TOUSRID((JACKSON RCH38DB)) MSG(*DSTIDMSG) CFMDEL(*YES)

This command sends a mail log entry that is identified by the distribution document name NEWYORK SMITH 0204 that is distributed to user JACKSON at address RCH38DB. The message in the distribution document is distributed with the distribution.