SNDDST (Send Distribution) syntax diagram
Job: B,I Pgm: B,I REXX: B,I Exec Threadsafe: No (1) (2) >>-SNDDST--TYPE(-----------+-*MSG---+--)------------------------> +-*DOC---+ +-*FILE--+ +-*IDP---+ +-*DSTID-+ '-*LMSG--' .--------------------------------------------------. V .-*PRI-. (3) | >--TOUSRID(----(--+-user-ID--user-address---+--+------+--)------+--)--> '-list-ID--list-qualifier-' +-*CC--+ '-*BCC-' (4) >--DSTD(--'distribution-description'--)-------------------------> >--+-----------------------------+------------------------------> | .-*NONE----------. | '-MSG(--+-*DSTIDMSG------+--)-' '-'message-text'-' >--+----------------------------+-------------------------------> '-DOC(--+-*DOCID--------+--)-' '-document-name-' >--+--------------------------+---------------------------------> | .-*NONE-------. | '-FLR(--+-folder-name-+--)-' >--+-------------------------------------------------+----------> | .-*NONE----------------------------. | '-DOCID(--+-'library-assigned-document-name'-+--)-' >--+----------------------------------------------------+-------> | .-*LIBL/--------. | '-DOCFILE(--+---------------+--database-file-name--)-' +-*CURLIB/------+ '-library-name/-' >--+-----------------------------+------------------------------> | .-*FIRST------. | '-DOCMBR(--+-member-name-+--)-' >--+--------------------------------------+---------------------> | .-*CURRENT--------------. | '-USRID(--+-user-ID--user-address-+--)-' >--+-------------------------------------+----------------------> | (1) .-*NONE-----------. | '-DSTID(-------+-distribution-ID-+--)-' >--+--------------------------------------------------+---------> | (1) .-*NONE---------------------. | '-DSTIDEXN(-------+-distribution-ID-extension-+--)-' >--+---------------------------------------+--------------------> | .-*DFT-----------------. | '-DOCTYPE(--+-*FFT-----------------+--)-' +-*RFT-----------------+ '-document-type-number-' >--+---------------------------------+--------------------------> | .-*NOCHG----------. | | | (5) | | '-SNDFMT(--+-*NOTE-----------+--)-' | (6) | '-*FINALFORM------' >--+-------------------------------+----------------------------> | .-*DFT----------. | '-SYSCOD(--+-'system-code'-+--)-' >--+--------------------------------------+---------------------> | (7) | +-SENSITIV(--+-*NONE---------+-------)-+ | +-*PERSONAL-----+ | | +-*PRIVATE------+ | | '-*CONFIDENTIAL-' | | .-*NO--. (7) | '-PERSONAL(--+-*YES-+-------)----------' >--+-----------------------------+--+----------------------+----> | .-*NORMAL-. | | .-*NORMAL-. | '-IMPORTANCE(--+-*HIGH---+--)-' '-PTY(--+-*HIGH---+--)-' '-*LOW----' '-*LOW----' >--+----------------------+-------------------------------------> | .-*NO--. | '-CFMDEL(--+-*YES-+--)-' >--+-----------------------------------------------------------------+--> | (8) (2) .-*NONE---------------------------------. | '-IDPFILE(-----------+-*DSTIDIDP-----------------------------+--)-' +-*DOCFILE------------------------------+ | .-*LIBL/--------. | '-+---------------+--database-file-name-' +-*CURLIB/------+ '-library-name/-' >--+------------------------------------+-----------------------> | (8) .-*FIRST--------. | '-IDPMBR(-------+-'member-name'-+--)-' >--+--------------------------------------+---------------------> | .-*DFT-------------------. | '-DOCD(--+-*DSTD------------------+--)-' '-'document-description'-' >--+--------------------------------------------+---------------> | .-*NONE----------------------. | '-AUTHOR(--+-*USRID---------------------+--)-' | .------------------------. | | V (9) | | '---'document-author'------+-' >--+----------------------------------+-------------------------> | .-*NONE------------. | '-DOCCLS(--+-'document-class'-+--)-' >--+------------------------------------------+-----------------> | .-*NONE-----------------------. | | | .-------------------------. | | | | V (9) | | | '-KWD(--+---'document-keyword'------+-+--)-' >--+----------------------------------------------+-------------> | .-*NONE-----------------------. | '-SUBJECT(--+-*DOCD-----------------------+--)-' | .-------------------------. | | V (9) | | '---'document-subject'------+-' >--+--------------------------------+---------------------------> | .-*NONE---------. | '-DOCDATE(--+-*CURRENT------+--)-' '-document-date-' >--+-------------------------------------------------+----------> | (2) .-*NONE----------------------. | '-FILCAB(-------+-'filing-cabinet-reference'-+--)-' >--+-------------------------------------------+----------------> | .-*NONE---------------------. | | | .-----------------------. | | | | V (9) | | | '-CPYLST(--+---'recipient-list'------+-+--)-' >--+----------------------------------+-------------------------> | .-*NONE-----------. | '-EXPDATE(--+-expiration-date-+--)-' >--+------------------------------+-----------------------------> | .-*NONE-------. | '-CRTDATE(--+-*CURRENT----+--)-' '-create-date-' >--+--------------------------------+---------------------------> | .-*NONE-------. | '-REFERENCE(--+-'reference'-+--)-' >--+----------------------------------+-------------------------> | .-*NONE-----------. | '-ACTDATE(--+-*CURRENT--------+--)-' '-action-due-date-' >--+---------------------------------------------------+--------> | .-*NONE---------. .-*ENDOFDAY-----. | '-RPYDATE(--+-*CURRENT------+--+-reply-by-time-+--)-' +-*ANY----------+ '-reply-by-date-' >--+--------------------------------------+---------------------> | .-*NONE----------------. | '-STATUS(--+-'status-of-document'-+--)-' >--+--------------------------------+---------------------------> | .-*NONE---------. | '-CMPDATE(--+-*CURRENT------+--)-' '-date-complete-' >--+----------------------------+-------------------------------> | .-*NONE-----. | '-PROJECT(--+-'project'-+--)-' >--+----------------------------------------------------+-------> | .-*SYSVAL--------------------------. | '-DOCCHRID(--+-*DEVD----------------------------+--)-' '-graphic-character-set--code-page-' >--+----------------------------------------------------------+--> | (10) .-*SYSVAL--------------------------. | '-CMDCHRID(--------+-*DEVD----------------------------+--)-' '-graphic-character-set--code-page-' >--+---------------------------------------+--------------------> | .-*JOB---------------. | '-DOCLANGID(--+-language-identifer-+--)-' >--+---------------------------------------+--------------------> | .-*JOB--------------. | '-DOCCNTRYID(--+-country-identifer-+--)-' >--+-------------------------+--+------------------------+------> | .-*YES-. | | .-*YES-. | '-ALWALTRCP(--+-*NO--+--)-' '-DISCLOSE(--+-*NO--+--)-' >--+--------------------------+---------------------------------> | .-*YES-. | '-ALWX400CNV(--+-*NO--+--)-' >--+---------------------------------------+--------------------> | .-*NONE-----------------. | '-AUTUSR(--+-user-ID--user-address-+--)-' >--+------------------------------------------------------------------------------------+->< | .-*NONE------------------------. .-*ENDOFDAY--------------------. | '-DSTEXPDATE(--+-distribution-expiration-date-+--+-distribution-expiration-time-+--)-'
Notes:
- The DSTID and DSTIDEXN parameters are valid only when TYPE(*DSTID) is specified.
- FILCAB is required when TYPE(*IDP) and IDPFILE(*NONE) are specified.
- A maximum of 300 repetitions.
- All parameters preceding this point can be specified in positional form.
- SNDFMT(*NOTE) is valid only when *DOC, *FILE, or *DSTID is specified on the TYPE parameter.
- SNDFMT(*FINALFORM) is valid only when TYPE(*DOC) is specified.
- PERSONAL and SENSITIV are mutually exclusive.
- The IDPMBR parameter is only used when data base-file-name is specified on the IDPFILE parameter.
- A maximum of 50 repetitions.
- This parameter applies to the following parameters: TOUSRID, USRID, SYSCOD, MSG, DOCD, DSTD, AUTHOR, DOCCLS, KWD, FILCAB, CPYLST, SUBJECT, REFERENCE, STATUS, PROJECT, DSTID, and AUTUSR.