× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



YOu could use one of the messaging API's or use the C system function.


Thanks,

Mark


Mark Walter
Sr. Programmer/Analyst
Hanover Wire Cloth a div of CCX, Inc.
mwalter@hanoverwire.com
http://www.hanoverwire.com
717.637.3795 Ext.3040
/"\
\ /
 X
/ \




                    Jeff Crosby
                    <jlcrosby@DILGARDFO        To:     Midrange Mailing List 
<MIDRANGE-L@midrange.com>
                    ODS.COM>                   cc:
                    Sent by:                   Subject:     SNDPGMMSG from HLL 
program
                    midrange-l-admin@mi
                    drange.com


                    12/02/2002 03:14 PM
                    Please respond to
                    midrange-l






I want to send a message via SNDPGMMSG from an RPG4 program.  SNDPGMMSG
is allowed in CL programs but not HLL programs.  I want the message
queue to look 'clean' meaning like this:


                          Display Messages
                                              System:   DILGARD
Queue . . . . . :   ORDERS        Program . . . . :   *DSPMSG
   Library . . . :     QUSRSYS       Library . . . :
Severity  . . . :   00            Delivery  . . . :   *HOLD

Type reply (if required), press Enter.
   This is the message I want to send from a HLL.
   This is another message I want to send from a HLL.
   This is a 3rd message I want to send from a HLL.
   This is a 4th message I want to send from a HLL.
   This is a 5th message I want to send from a HLL.

(I adjusted the above so it hopefully won't wrap.)



If I use the SNDMSG command (which is allowed from a HLL), the message
queue looks cluttered, like this:


                          Display Messages
                                              System:   DILGARD
Queue . . . . . :   ORDERS        Program . . . . :   *DSPMSG
   Library . . . :     QUSRSYS       Library . . . :
Severity  . . . :   00            Delivery  . . . :   *HOLD

Type reply (if required), press Enter.
   From  . . . :   JEFF           12/02/02   15:04:49
   This is the message I want to send from a HLL.
   From  . . . :   JEFF           12/02/02   15:04:49
   This is anoth message I want to send from a HLL.
   From  . . . :   JEFF           12/02/02   15:04:49
   This is a 3rd message I want to send from a HLL.
   From  . . . :   JEFF           12/02/02   15:04:49
   This is a 4th message I want to send from a HLL.
   From  . . . :   JEFF           12/02/02   15:04:49
   This is a 5th message I want to send from a HLL.

(Note all the "From" lines in there.)


How can I do a 'lean & clean' message send?

Thanks.

--
--
Jeff Crosby
Dilgard Frozen Foods, Inc.
P.O. Box 13369
Ft. Wayne, IN 46868-3369
260-422-7531

The opinions expressed are my own and not necessarily
the opinion of my company.  Unless I say so.



_______________________________________________
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 ...


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.