Hi Simon,
I'll rephrase that. The CLP is called with the MSGF paramèters MSGF, MSGID and MSGDTA. The TOMSGQ parameter is *TOPGMQ. The message gets shown in a message subfile, something I only ever used when I started learning but never since.
As for the ILE question, what I am trying to say is, I want to be sure that I don't have a sub procedure somewhere that calls an OPM and therefore strays outside of my ACTGRP.
-----Message d'origine-----
De : rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] De la part de Simon Coulter
Envoyé : jeudi 29 janvier 2009 21:35
À : RPG programming on the IBM i / System i
Objet : Re: OPM called by program running in a named activation group
On 29/01/2009, at 8:46 PM, David FOXWELL wrote:
This old program is currently calling a CLP that does a SNDPGMMSG to
show an error message on a user screen. It's certainly going to get
the chop, but, I was wondering what will happen if it was kept?
Where will the message go?
It will go where it was sent. It is not possible to determine that from the supplied information.
Also, when converting a program to ILE is there anyway of knowing if
that program is 100% ILE? I mean no calls to a program outside that
activation group, eg a call to a CLP or an RPGLE not compiled with
*CALLER.
What on earth makes you think that calls outside an activation group make something NOT ILE?
Regards,
Simon Coulter.
--------------------------------------------------------------------
FlyByNight Software OS/400, i5/OS Technical Specialists
http://www.flybynight.com.au/
Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
X
ASCII Ribbon campaign against HTML E-Mail / \
--------------------------------------------------------------------
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.
As an Amazon Associate we earn from qualifying purchases.