how do I format the short message When using SNDDST tye *DOC

15 pts.
Tags:
SNDDST
how do i format the MSG when using SNDDST type *DOC

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 5  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    I don't understand the question. The MSG() parameter doesn't necessarily change just because a *DOC is included. What is the problem? What is being attempted and what obstacles are run into? Tom
    125,585 pointsBadges:
    report
  • Cabbage
    Hi Tom, When using *doc you can only send a short message v.s. a long message. The formatting for a long message is ":/N" for a new line or ":/P" for a new paragraph. When using the Short Message these formatting character strings Don't Work.
    15 pointsBadges:
    report
  • TomLiotta
    Ah. Yes, it seems that when sending a *DOC, the assumption is that the *DOC contains the formatting, so LMSG() isn't needed. The MSG() parameter doesn't allow formatting even when TYPE(*LMSG) is specified. And when TYPE(*LMSG) is specified, there's usually no need for MSG(). There is practically zero chance this will ever change. The *LMSG form was introduced as a quick entry into SMTP for sites that were moving in that direction. But it's not a full solution. That's simply because there are better alternatives. The QtmmSendMail API has been around for 15 years or so. It's a more complex than but far superior to SNDDST (especially since you'd still have to perform the same conversions on your *DOC document to get it to pass through SMTP servers anyway.) And the free iSeries MIME & Mail utility has been available for download for a decade or so. Unless you're prepared to convert you document into a valid MIME attachment before running SNDDST, I'd strongly suggest the MMAIL utility as your next step. Other utilities exist -- searches will list them. But MMAIL is free and provides a good way to learn what's needed for SMTP e-mail. SNDDST is for SNADS. It "works" for SMTP, but it is necessarily very limited. Tom
    125,585 pointsBadges:
    report
  • Aspvkp
    Use CHGDOCD DOC(DSPJOB1) FLR(WINTEST) DOCD(MYTEST command to change the Document description and then use the SNDDST command. Refer this link http://www-01.ibm.com/support/docview.wss?uid=nas12321f1dc5d92fff286256d1a00592f9c
    20 pointsBadges:
    report
  • TomLiotta
    Use CHGDOCD DOC(DSPJOB1) FLR(WINTEST) DOCD(MYTEST command... Although CHGDOCD seems useful enough for a "SUBJECT:" change, I'm not sure how it relates to the question. It doesn't seem to apply to formatting "MSG:" text. Can you clarify how CHGDOCD would be used in this question? Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following