|
Remember something after hitting send... Option #3 - Use the QZRUCLSP API to call the procedure directly from a CLLE program (or a OPM CL program?) Charles > -----Original Message----- > From: Wilt, Charles > Sent: Wednesday, September 22, 2004 4:43 PM > To: rpg400-l@xxxxxxxxxxxx > Subject: Calling service program procedure from OPM via > program wrapper. > > > I've got a couple of service program procedures that I also > need to be able > to call from an OPM program. > > So, I need to add a program front end to both procedures. > > My first thought was a CLLE program that used the CALLPRC > command. However, > CRTBNDCL doesn't allow you to specify a BNDDIR to use. > > So, I seem to have two choices > > 1) CLLE module, then use CRTPGM > > 2) RPGLE bound program. > > > I'm using ACMS so option 1 requires two objects to be > defined, a *MODULE and > a *PGM. Whereas option 2 only requires the *PGM object. > > Seems kind of wasteful to have an RPG program that only has > two lines, CALLP > and EVAL *INLR=*ON. > > I had wanted to have the procedures and the program have the > same name, > certainly don't think I could do this in RPGLE, don't know if > it would even > work in CLLE. > > How do you all handle this? > > Thanks, > Charles > -- > 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.