kindly anyone please tell me, how to change dynamic FROM email address in the SNDDST command.I have task to change the from address in the SNDDST based on parameter user sent.I checked in the internet with option to configure TCP using WRKDIRE.But i want the dynamic from address for the particular module only.
Software/Hardware used:
ASKED:
April 4, 2012 6:45 AM
UPDATED:
April 17, 2012 3:40 PM
This might help.
Prompt the command, F9, F11.
Roll to …
User identifier: USRID
User ID . . . . . . . . . . . *CURRENT
Address . . . . . . . . . . .
User identifier (USRID) – Help
Specifies which user ID and user ID address should be
associated with the request.
*CURRENT
You are performing the request for yourself.
user-ID
Specify another user’s user ID or your user ID. You
must have been given permission to work on behalf of
another user or have *ALLOBJ authority.
user-ID-address
Specify another user’s address or your address. You
must have been given permission to work on behalf of
another user or have *ALLOBJ authority.
You can easily test this with
SNDDST TYPE(*LMSG) TOINTNET((YourEmailAdress.blah.COM)) DSTD(‘THIS IS A TEST FROM THE ISERIES’) LONGMSG(MSG) USRID(alternatename)