|
>We are searching for a way to route all user's Batch >Submitted Queries to a specific Job Queue just for >queries. This Job Queue will be independent of the Job >Queue specified in the user's Job Description. > >i.e. All other batch jobs go to their regular Job >Queue, but when a Batch Query is submitted from the IBM >AS400 Query Menues, the Query will go to another >specifiec Queue so as not to intefere with processing in >the other Queues. > >Any ideas ? > >Bill Harrell We shift all query requests to execute as QUERYUSER profile for creation and execution of the queries. As the user starts the Query option on their menu, we use the API (I forget the name) to change the "Executing As" user; we shift back to the User's Profile when exiting the Query option. This allows us to control access to files: Query Users can Look but Not Touch (to prevent them from choosing as an outfile a MasterFile Name, and to keep them out of the Payroll files). This also gives us the chance (with a routing program) to shuffle all jobs for QUERYUSER to a separate job queue (Actually, in our case, we transfer the job to our 2nd AS/400). --Paul E Musselman PaulMmn@ix.netcom.com +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.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.