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

> However, is there a standard offset within the program
> template for ILE programs (single-module bound programs,
> multiple-module programs and service programs)? Is it
> specific to an object type?

Notice the QCLRPGMI (Retrieve Program Information) API and QBNRSPGM
(Retrieve Service Program Information) API infer that an entire program
state supersedes any component module states, as the APIs return the entire
program object state, not component module states.

Notice the QBNRMODI (Retrieve Module Information) API documentation under
"Module State" infers that system state modules cannot be bound with user
state modules.

Module state is in the patchable module header at bytes x'02' & x'03'
(x'0001' is user, x'0080' is system).  Try binding a mixture of user state
and system state modules into one program, and see the binder fail with

Hmm, a CPD error, not an MCH error---so mixing states is an OS/400
restriction, not an MI restriction?

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2023 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.