|
Ahh, GRTOBJAUT, thanks. Actually, I just went into the job scheduler and sumbitted GRTOBJAUT to the file for QPGMR ran as QSECOFR. It's submitted to run *once tomorrow morning at 00:00:01. that way I don't have a program sitting on the AS/400 anywhere that someone can run. And tomorrow morning I will delete the job scheduler entry after it runs. Thanks again. Regards, Jim Langston Message: 10 From: "Peter Dow" <pcdow@yahoo.com> To: <midrange-l@midrange.com> Subject: Re: EDTOBJAUT in CL program? Date: Tue, 16 Oct 2001 11:06:03 -0700 Reply-To: midrange-l@midrange.com Hi Jim, The command you're looking for is GRTOBJAUT. But as you point out, a CL program using this command would have to adopt authority anyway, so why not simply have the reorg program adopt it? That's actually safer, because having a general purpose CL that grants authority to the files means someone could run just that program, then fiddle with the files, whereas the reorg program can only reorg the files. Regards, Peter Dow Dow Software Services, Inc. 909 425-0194 voice 909 425-0196 fax
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.