The usual way is to put the changed commands in a special library that you
put above QSYS in the System library list. So users will be using the
changed commands anyway. Then programmers can use the CHGSYSLIBL command to
remove that special library, thus having access to the real commands. Or
they can specifically invoke the real commands from QSYS. Remember that
*Secofr is needed to do a CHGSYSLIBL. Current library is a red herring, and
in any case is not in the system library list (it doesn't work like on the
System 36 with #library.)
Hope this helps,

Clare

Clare Holtham
Director, Small Blue Ltd - Archiving for BPCS
Web: www.smallblue.co.uk
IBM Certified AS/400 Systems Professional
E-Mail: Clare.Holtham@xxxxxxxxxxxxxx
Mobile: +44 (0)7960 665958
----- Original Message -----
From: "Chandra Sekhar Rath" <ChandraRS@xxxxxxxxxxxxxxxxx>
To: <midrange-l@xxxxxxxxxxxx>
Sent: Tuesday, August 05, 2003 9:49 AM
Subject: Command Restriction


> Hi Group,
>
> We are trying to restrict DLTF command from being run from the command
> line,but run inside the programs  for certain user groups.As per
suggestions
> from earlier post ,doing  a CHDCMD on DLTF in QSYS library with *ALLOW
> parameter set as *IPGM & *BPGM does serve the purpose.
>
> But, the problems is that the Secoffr profiles and techinical user
profiles
> should be allowed to run the command from
> command line.I tried creating a duplicate object of DLTF(Unchanged one)
from
> QSYS to a library , and putting that library at the
> top of library list , and making that as the current library for the
Secofr
> profile.The assumption was that for these profiles only the
> command will be referenced from the current library, so that it can be run
> from command line.However this did not work.
>
> Can you please suggest some work around?.
>
> Thanks and regards
> Chandra Sekhar Rath
>
>
> _______________________________________________
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
> To post a message email: MIDRANGE-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/midrange-l
> or email: MIDRANGE-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.
>
>


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.