|
Carol,
Thanks a bunch for the solution. I appreciate your thoughtfulness in
answering my question. One comment: In our environment anyway, the
SUBJECT parameter CAN contain embedded blanks as long as the [entire]
value is surrounded by "ticks", as in:
SNDDST ... SUBJECT('Hey, this e-mail to a pager thing is GREAT!')
Thanks again.
Mark
______________________________ Reply Separator _________________________________
Subject: Re: SNDDST command SUBJECT
Author: Carol.Collins@DOEGJPO.COM (Carol Collins) at vpn
Date: 07/10/1997 3:56 PM
Mark Stepan writes:
>I am trying to send a message from an AS/400 (V3R2) using the SNDDST
>command. The destination is a cc:Mail server that we have linked to
>text-pagers so that a user will be paged when a message is received.
> The problem I am having is that I have been unable to control the
>SUBJECT AREA of the destination message. This is important since
>the text that is in the subject area is what is actually sent to the
>pager. There is a DESCRIPTION of the message being sent [required]
>which as far as I can tell does absolutley nothing.
I use the SNDDST command to send messages (actually files) to our cc:Mail
post office. The subject is received via the SUBJECT parameter, as shown
here.
RUNLST: PGM
SNDDST TYPE(*FILE) DSTD(NONE) TOUSRID((security hdl)) +
SUBJECT(AS400_ACCESSES) DOCFILE(security/hsum97058A ) +
DOCTYPE(*FFT) SNDFMT(*NOTE)
ENDPGM
Note that the SUBJECT parameter value cannot contain any spaces. If it
does, only the text before the space will be received as the subject.
Hope this helps.
-- Carol
+=======================================================================+
| Carol Collins Sr. Network Administrator |
| WASTREN / Holmes and Narver Services, Inc. |
| 2597 B-3/4 Road |
| Grand Junction, CO 81503 |
| U.S. Dept of Energy Grand Junction Office |
| Internet: Carol.Collins@doegjpo.com |
| Phone : (970) 248-6524 |
+=======================================================================+
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the Midrange System Mailing List! To submit a new message, *
* send your mail to "MIDRANGE-L@midrange.com". To unsubscribe from *
* this list send email to MAJORDOMO@midrange.com and specify *
* 'unsubscribe MIDRANGE-L' in the body of your message. Questions *
* should be directed to the list owner / operator: david@midrange.com *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.