Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Send Distribution (SNDDST)

Status
Not open for further replies.

sburden

Programmer
Dec 4, 2002
35
US
Hi Folks,

When I issue SNDDST command, the subject line is printing the wrong text. I'd like for it to print "Elite General Memo" in the subject line however, "ASCII.TXT" prints instead. I appreciate any help you give.

Below are the commands that being issued.

CPYTOPCD FROMFILE(LIBALL/GEN_MEMO) TOFLR(TRANSFER) +
TODOC(ASCII.TXT) REPLACE(*YES)

SNDDST TYPE(*DOC) TOINTNET((samson@post.com) +
(deliah@post.com)) DSTD('Elite +
General Memo') MSG('This is a General +
Memo sent by ELITE.') DOC(ASCII.TXT) +
FLR(TRANSFER)
 
Code:
SNDDST TYPE(*DOC)                                     
       TOINTNET((samson@post.com) (deliah@post.com))  
       DSTD('Elite General Memo')                     
       MSG('This is a General Memo sent by ELITE.')   
       DOC(ASCII.TXT)                                 
       FLR(TRANSFER)                                  
       [b]SUBJECT('This is the subject line')[/b]
 
Talkturkey - Thanks for responding, however I don't see the "Subject" keyword on the SNDDST command. We're running V5R2 on our I-Series.
 
Talkturkey - I have one more question. When I receive an e-mail from SNDDST there's this long text in my inbox as shown below:

PRODUSER?490/MIS@S1234567.DENMARK.EXPLORER.COM

I realize this is generated by the I-Series, but can I shorten this to "PRODUSER" or any other text I choose.

Thanks in advance.
 
Try using WRKNAMSMTP command to change your SMTP name.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top