× 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: show message on line 24
  • From: bmorris@xxxxxxxxxx
  • Date: Fri, 30 Mar 2001 11:02:03 -0500
  • Importance: Normal


>Date: Thu, 29 Mar 2001 21:19:29 -0800
>From: "James W. Kilgore" <eMail@James-W-Kilgore.com>
>
>As you do, for an application a separate message file is appropriate,
>but since I'm not at my AS/400 I'm going to ask a dumb question: Do all
>entries in QCPFMSG _have_ to start with CPF?  I don't think so.
>
>So how about this:  You write a small CL utility program.  Upon an error
>you want to display your own message DCL1001 (Dan's CL message 1001).
>Is it possible to MONMSG that the message was not found, call another CL
>that adds the message to QCPFMSG and upon return your utility CL loops
>back to show the message?  So you write a program (ADDDCLMSG or some
>such) and pass to it which message that needs to be added and this way
>you also have a single program that contains all of your own utility
>messages?

James, I don't think there's any rule that says new prefixes can't be
added to a system message file.  Also, QCPFMSG is shipped with *USE
public authority.

If you're going to have your own messages anyway, why not have your
own message file?

Barbara Morris


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

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.