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



Joe,

I have them in a module that is bound into a *SRVPGM and is also available
using an intermediate 'wrapper' program (which calls the *SRVPGM
procedures), exactly as you describe.

I wanted to make it clear that if the OP is doing this work in an OPM-only
environment, that there are ways to invoke these procedures without directly
accessing the *SRVPGM procedures. Too many times I've seen (or posted
myself) example ILE code and had responses of "But my shop uses OPM, so I
can't use this code"...

Sorry you're getting *SRVPGM hell...

Rory

On Tue, Oct 25, 2011 at 6:55 AM, Joe Pluta <joepluta@xxxxxxxxxxxxxxxxx>wrote:

On 10/24/2011 5:26 PM, Rory Hewitt wrote:
Have you considered putting the required code into a procedure in a
service
program module (and/or ina callable program, if some of these are OPM
programs)? Something like this:


Rory, you use a service program. That works nicely for ILE and then you
can wrap that in a bound program for OPM calls. I think that's what I'm
going to do. Service programs have been giving me fits lately, but
they're so nice when they work...


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.