I appreciate the information, however I must admit to being a MI newbie, and would appreciate more details. My existing program is just a basic list panel written in ILE RPG with an option to perform a program call to the QQUDC object and one to build a SBMJOB\RUNQRY command. Date: Wed, 11 Oct 2000 08:27:47 -0500 From: "Leif Svalgaard" <firstname.lastname@example.org> Subject: Re: system state program call within user state - ----- 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: email@example.com +---
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.