|
----- Original Message ----- From: Ray, Spencer <Spencer.Ray@AB-AdventureParks.com> Subject: system state program call within user state > Hi All, > I was wondering if anyone had any information on calling a system state program > from the user state. What I'm trying to do is give my general end-users a list > panel similar to that seen in the WRKQRY command except I only want to provide > options 5=Display and 8=Run in batch. The problem I'm having is displaying the > details of the query. I'd like to call the program QQUDC out of the QQRYLIB > product library, however since I'm running at security level 40, the system > gives me a big smack on the wrist. Any information that would get me closer > would be greatly appreciated. Your problem is not that QQUDC is a system state program, almost all programs beginning with Q are system state programs. Your problem is that QQUDC is in the system DOMAIN and therefore cannot be called from a user state program. Change your program to be system state and you'll do fine. +--- | 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-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.