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


  • Subject: RE: Making command parameters off-limits
  • From: "Bale, Dan" <D.Bale@xxxxxxxxxxxxx>
  • Date: Mon, 18 Jun 2001 16:29:41 -0400
  • Thread-Index: AcD4Mncd/DSRLaHoR2Ku2egjhmuNxgAAH1og
  • Thread-Topic: Making command parameters off-limits

Title: RE: Making command parameters off-limits

Well, first of all, I'd can the idea of using QTEMP for this.  Is QTEMP always at the end of your library lists?  ALWAYS?  You didn't explicitly state it, but it sounded like you were just going to ensure that QTEMP was first in your *User* library list.  All the IBM commands are going to be higher than that, in the system library list.  Why not just create a permanent library, FIRESTOPPR, and put your authority-modified commands in there, one time?  Then, all you have to do is to CHGSYSLIBL FIRESTOPPR as part of the users' startup and be done with it.  Steps 1/, 3/, 4/, & 5/ are done once, when you create the FIRESTOPPR library.  Step 2/ would be done either at the initial program level or by changing the system value QSYSLIBL (but if you did that, you'd probably want to change *your* initial program to remove that library from the system library list for your job).

SAVE(*YES): Are the spooled files always being created with this?  If so, why give users access to the parameter at all?  If not, perhaps the printer files should be changed to specify this and relieve the users from having to do this.

As far as restricting access to parameters, I think you are limited to using ?*SAVE(*YES), but this is possible only if you're rolling your own WRKSPLF-type utility. 

Maybe an exit program?  (Outta my league here, but seems to me I've heard something along these lines before.)

- Dan
Dan Bale says "BAN DALE!"
IT - AS/400
Handleman Company
248-362-4400  Ext. 4952
D.Bale@Handleman.com
  Quiquid latine dictum sit altum viditur.
  (Whatever is said in Latin seems profound.)

-------------------------- Original Message --------------------------


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