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
826 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Hello I read in a discussion about a person who configured a very simple mirror RAID with two hard drives; the system and data were on the same partition. He asked how to repair the system as it was not booting up anymore. In his case running …
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…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

724 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