×
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.
Thanks, Brian,
The data area route seems to be what Rory is suggesting in his Passing unwanted parameters thread on RPG list.
I didn't immediately think of QTEMP, but instead the library containing the program. Is this necessary? I can have a main procedure in the called RPG programme that does nothing but call another procedure with the parameters declared as CONST. Wouldn't that work and save having to create the data area each time?
-----Message d'origine-----
De : midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] De la part de BMay@xxxxxxxxx
Envoyé : vendredi 9 janvier 2009 16:41
À : midrange-l@xxxxxxxxxxxx
Objet : RE: ACTGRP
You are most welcome David.
As for the PARM1, PARM2, etc. solution you mentioned, I have never been a big fan. Inevitably, you will run into a parameter that will not fit in your generic parm and then you have to modify all programs that use this technique again to increase the parameter sizes.
As for a preference, I have seen and/or used all three methods in the past.
If it were me, I would probably go the data area route. Just be sure you create the data areas in QTEMP so you don't have sessions stomping each other's parameters.
HTH,
Brian May
Project Lead
Management Information Systems
Garan, Incorporated
Starkville, Mississippi
Young i Professionals
http://www.youngiprofessionals.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at
http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.