Rob, that seems strange...can you elaborate on WHY? I don't doubt you, I'm
just curious...Thanks much,
George
(712) 579-5444 (cell)
985 Oak Rd
Harlan, IA 51537
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Rob
Berendt
Sent: Wednesday, March 21, 2018 11:57 AM
To: Midrange Systems Technical Discussion
Subject: Re: EDTOBJAUT
You'll need to run two commands. Same command but with different options.
GRTOBJAUT OBJ(MYLIB/*all) OBJTYPE(*ALL) AUTL(MYAUTL) GRTOBJAUT
OBJ(MYLIB/*all) OBJTYPE(*ALL) USER(*PUBLIC) AUT(*AUTL)
They don't let you do this in one pass.
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail
to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
From: "George Applegate" <gappleg8@xxxxxxxxx>
To: <MIDRANGE-L@xxxxxxxxxxxx>
Date: 03/21/2018 12:53 PM
Subject: EDTOBJAUT
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
I want to create an authorization list to secure a large number of files,
but am wondering if there is any way to associate that authorization list
with the files easily.
For instance, I would like to be able to do an EDTOBJAUT ADDLST(NEWLIST)
command but there isn't any such beast that I can tell? Kind of like an
ADDOBJAUT, which also doesn't exist. Then I could put this all in a C/L
command that could be executed some night when no one is using the system,
such that it would go through and secure the files without having to do it
interactively.
Like the C/L Command could be something like:
EDTJOBAUT OBJ(FILEONE) OBJTYPE(*FILE) ADDLST(NEWLIST)
EDTJOBAUT OBJ(FILETWO) OBJTYPE(*FILE) ADDLST(NEWLIST)
.
EDTJOBAUT OBJ(FILE9999) OBJTYPE(*FILE) ADDLST(NEWLIST)
Obviously, the "ADDLST" parm is fictitious.
Is there an easier way to do this or how could I accomplish this?
Appreciate any ideas or suggestions.
George
(712) 579-5444 (cell)
985 Oak Rd
Harlan, IA 51537
As an Amazon Associate we earn from qualifying purchases.