×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.





Hi, can you provide and example of the syntax of the qsh cmd that would change the authority?
Thanks







-----Original Message-----
From: CRPence <CRPbottle@xxxxxxxxx>
To: midrange-l@xxxxxxxxxxxx
Sent: Tue, Mar 9, 2010 3:48 pm
Subject: Re: Mass Change Authority in IFS


Considering the implementation of recursive shell requests, for
large/ requests [i.e. with *many* files and directories] had at one
ime ended with a failure to complete [per resources exhausted or
imilar] or worse when terminating also wreaking havoc with the
ystem by terminating system auditing [bad enough by itself, but
onsidering that if the safety of the QAUDENDACN = *PWRDWNSYS was
nabled, the system would then also go down], I always have used the
L commands or similar via IFSTOOLS. Perhaps someone knows if on
he recent releases the implementation of -r is no longer failing
or taking excessive resources] as compared to the same request
ffected in a CL command using SUBTREE(*ALL)?
Regards, Chuck
Jim Oberholtzer wrote:
I know CHGOWN works, and it is a CL command, however;

There are some things that are just a whole lot easier to do and
in some respects faster and more accurate in a shell script using
Unix commands. Call the shell script from CL if you would like,
but since you can achieve REXX like string manipulation etc in a
shell script, you can achieve a lot more in script than you can
from CL alone. My argument is not that the IBM i commands don't
work, they do, they are just do not offer the flexibility and
control that a shell script might offer. For one time shots, stay
with the CL command, but the moment you find yourself doing the
same task over, consider a shell script.

There is a very good book: "Qshell for iSeries" by Ted Holt and
Fred Kulack (MCPress) as well as the several articles that Scott
Klement has written to show how to use this powerful tool.

On 3/9/2010 7:36 AM, Bob Voltz wrote:
Thanks to all...CHGAUT worked like a champ.

Now...is there a way to do a mass CHGOBJOWN on IFS files?

-
his is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
o post a message email: MIDRANGE-L@xxxxxxxxxxxx
o subscribe, unsubscribe, or change list options,
isit: http://lists.midrange.com/mailman/listinfo/midrange-l
r email: MIDRANGE-L-request@xxxxxxxxxxxx
efore posting, please take a moment to review the archives
t http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.