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


  • Subject: Re: Message Files
  • From: Bob Larkin <blarkin@xxxxxx>
  • Date: Sun, 19 Nov 2000 11:46:27 -0600

As Simon mentioned the QMHRTVM API might be what you are looking for.

System API Reference (SC41-5801) lists the following information on the API.
The Retrieve Message (QMHRTVM) API retrieves the message description of a
predefined message. The
message description is created with the Add Message Description (ADDMSGD)
command. It consists of the text of
the message and other information, such as the message help and the default 
reply
for the message. You can use the
QMHRTVM API to copy the text of predefined messages into a program.

Your question leads to another question; Why do you need the message text?  If
you are dealing with an interactive program, there are much better ways to 
handle
displaying messages. If you are working with a batch program, there are also
other techniques.

If you could let us know what you are trying to accomplish, maybe we can show 
you
some alternatives.

Bob


"Brock, Brian" wrote:

> Does anyone know of a way to utilize AS/400 message files in COBOL/400?
>
> Brian Brock
> EDS/ WorldCom
> Client Support Team
> 500 Clinton Center Drive
> Clinton, MS 39056
> PH (601) 460-8141
> eFax (425) 940-5959
>
> +---
> | This is the COBOL/400 Mailing List!
> | To submit a new message, send your mail to COBOL400-L@midrange.com.
> | To subscribe to this list send email to COBOL400-L-SUB@midrange.com.
> | To unsubscribe from this list send email to COBOL400-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator: david@midrange.com
> +---END

+---
| This is the COBOL/400 Mailing List!
| To submit a new message, send your mail to COBOL400-L@midrange.com.
| To subscribe to this list send email to COBOL400-L-SUB@midrange.com.
| To unsubscribe from this list send email to COBOL400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---END


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.