|
folks,
here is somewhat of a paradox:
A system-state program cannot call a user-state program.
How can QCMD or similar system-state programs call one of
my user-state programs? Or how can OS/400 services
(presumably system-state) call user-state exit programs?
The help text from DSPPGM is quite wrong and misleading:
Program State - Help
The state of the program. Valid values are:
*USER
The program can call user-state programs.
(then how can you ever call an API?)
*SYSTEM
The program can call user- or system-state programs.
(plainly wrong - cannot call user-state programs)
*INHERIT
The program runs under (inherits) the same state as its calling program.
Leif Svalgaard
+---
| This is the MI Programmers Mailing List!
| To submit a new message, send your mail to MI400@midrange.com.
| To subscribe to this list send email to MI400-SUB@midrange.com.
| To unsubscribe from this list send email to MI400-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: dr2@cssas400.com
+---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.