Solved

While sending the Message from AS400 to Mail or SMS. We can't send more than 44 char. in subject

Posted on 2009-03-31
2
814 Views
Last Modified: 2013-12-06
how we can send more than 44 characters in the subject line while sending the SMS or Mail from AS400. because in SNDDST command in DSTD parameter, when i am trying to send more than 44 character. the system is giving message i am enclosing herewith a screen shot.
i don't want to use the message and long message line , due to some reaseon. i am using this command to send the SMS on mobile phones. and on mobile phone only subject line appear, neigher message nor long message line gets appear. therefore please help me.

moreover if you will see in the word file, there is space avaliable to type more than desired chaatcer. where is the setting or parameter in which i can change and send more than 44 characters.

shailesh mahajan

AS400---SNDDST-ERROR.doc
0
Comment
Question by:Bsidmis
2 Comments
 
LVL 4

Expert Comment

by:LewisPower
ID: 24027753
Hi Bsidmis,

Unfortunately, I don't see how you can enter more than 44 caracters in this field. This is a limitation of the parameter for this command.

Lewis
0
 
LVL 27

Accepted Solution

by:
tliotta earned 500 total points
ID: 24035323
shailesh:

SNDDST is not really for sending SMS nor for SMTP e-mail. It has been changed over the years to help connect it to those messaging protocols, but it will always be limited to its fundamental restrictions. The purpose of SNDDST is to send SNA distributions (APPN). When you use it outside of SNA, you have to accept that you are using it in a way that isn't a perfect fit for its design.

If you want to send SMS or SMTP messages, you should use SMS or SMTP facilities to take advantage of their capabilities.

The first API to consider would be QtmmSendMail. Review info here for V5R4:

http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/rzair/rzairsendrece.htm

The API has been around for many years, so older releases also have documentation. Note the other references to "mail" in topics surrounding that page.

There are sources around the internet for utilities that can send mail. I haven't had a lot of trouble writing my own, and each time it was worth it from what I learned.

In short, you're probably stuck with 44 characters if you intend to keep using the "distribution description" with SNDDST.

Tom
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Excluding files during OSD refresh 8 88
Win10 task scheduler - bug or feature? 9 267
Remove second installation of Windows 10 7 76
good comptia a+ teacher? 4 90
Sometimes a user will call me frantically, explaining that something has gone wrong and they have tried everything (read - they have messed it up more and now need someone to clean up) and it still does no good, can I help them?!  Usually the standa…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now