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



I have this in a ton of programs. Every screen that I have that does
validation uses it.

Example: SndMsg('Customer Name is required');

It works as a straight copybook. I have about 30 functions, each in a
different copybook, that I use randomly so I decided to move them all to a
service program (after review, that is how this all started but didn't work)
so I didn't have to keep including copybooks and going back to see what I
named the source file and also to help broaden my understanding of modules,
service programs, etc. I'm a consultant and clients don't like to pay us to
learn on the job.


-----Original Message-----
From: RPG400-L <rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Alan
Campin
Sent: Monday, August 10, 2020 2:54 PM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: Problem with message subfile

Not sure about adding parameters. Would this be new code? Also, this is the
interface on my service program. I would be happy to send you you a copy of
the service program.

dcl-proc XVMSGF_SendProgramMessage Export;
dcl-pi *N;
InMessageId Char(7) Value;
InQualifedMessageFileName Char(20) Value;
InMessageData VarChar(4096) Value;
InProcedureName VarChar(4096) Value;
InModuleName Char(10) Value;
InProgramName Char(10) Value;
end-pi;
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com


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.