Pedro

You don't need to do the DSPMSG - there's also the technique of running
RCVMSG WAIT(0) against an external queue (QSYSOPR), then take action
whenever a message arrives. When done, you loop back and wait for the next
message

But you probably don't want EVERYTHING to go out - some things are
nuisance. That's where these products help you, as Mark has said.

HTH

Vern

At 10:56 AM 10/28/02 -0600, you wrote:
As stated, there are commercial products that monitor the message q's and
allow you to page, phone, e-mail someone -

If you are "stuck" with having to do this yourself - good luck -
but it could be done - though I would not suggest it.

you would have to do a dspmsg of say the qsysopr message q to a print file,
and then read that into a program to see if there are any new messages,
and then e-mail from there -

The trick is that this job would be running constantly, or you could change
the msq
to have a break handling program - though it could be "messy"

There may be some API's or system data q's that would allow you to monitor
this,
though I have never looked into, as buying a package IMHO is much simpler,
those also allow auto answer for situations that you know how you want them
handled.


HTH
Mark


-----Original Message-----
From: midrange-l-admin@midrange.com
[mailto:midrange-l-admin@midrange.com]On Behalf Of pedro.reis@valeo.com
Sent: Monday, October 28, 2002 10:38 AM
To: midrange-l@midrange.com
Subject: mail from AS400 everytime a there's a msg


Hello Midrangers,

I can send an email from AS400, but, it is possible sending emails
automatic/,  everytime a batch msg pop's in on oper message file?

Is there anybody who did that already ?






Cordialement,
Best regards,
-------------------------------------------------------------------
Pedro Reis
Information System
e-mail: pedro.reis@valeo.com
Phone: 351-258 350 725
Fax: 351-258 350060
--------------------------------------------------------------------
VALEO - Electronics & Connective Systems
Viana do Castelo - Portugal
--------------------------------------------------------------------

"This e-mail message is intended only for the use of the named
recipient(s).
The information contained therein may be confidential or privileged, and
its
disclosure or reproduction is strictly prohibited. If you are not the named
recipient, please return it immediately to its sender at the above address
and destroy it."


_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
or email: MIDRANGE-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
or email: MIDRANGE-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.