|
So, when I use the system() command then ErrorCPF is only able to be retrieved because the associated service program, QC2LE, is in actgrp(*caller)? Anyone experiencing a difference with this? Rob Berendt -- "All creatures will make merry... under pain of death." -Ming the Merciless (Flash Gordon) "Bob cozzi" <cozzi@xxxxxxxxx> Sent by: rpg400-l-bounces@xxxxxxxxxxxx 01/08/2004 07:21 PM Please respond to RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> To "'RPG programming on the AS400 / iSeries'" <rpg400-l@xxxxxxxxxxxx> cc Fax to Subject RE: Exported/imported variables You can EXPORT from a SERVICE PROGRAM and IMPORT to a PROGRAM, but not the other way around. And in V4R4 or R5 IBM "broke" this capability by requiring the SERVICE PROGRAM to run in ACTGRP(*CALLER). Bob Cozzi Cozzi Consulting www.rpgiv.com -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of ile rpg Sent: Thursday, January 08, 2004 12:54 PM To: rpg400-l@xxxxxxxxxxxx Subject: Exported/imported variables I know how to export and import variables across modules (which are either explicitly or implicitly bound). I'd like to to share values with a service program. Yes, I know that's what parameters lists are for, and no, it doesn't make sense for such a capability to exist. Yes, I could bite the bullet and use CALLB, and no, it wouldn't kill me if I did. But I'm asking, just in case I've missed something, because the service program in question will be used in many programs and will be changed regularly. Thanks... _________________________________________________________________ Expand your wine savvy â and get some great new recipes â at MSN Wine. http://wine.msn.com _______________________________________________ This is the RPG programming on the AS400 / iSeries (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. _______________________________________________ This is the RPG programming on the AS400 / iSeries (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.
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.