PDA

View Full Version : WRKNETF



JohnFox
11-27-2007, 09:26 AM
Compile the CLP with USRPRF(*OWNER) and after the program has been compiled change the owner to QSECOFR: CHGOBJOWN OBJ(CLLIB/CLPGM) OBJTYPE(*PGM) NEWOWN(QSECOFR) I think that should work for you.

Guest.Visitor
11-27-2007, 02:23 PM
Whenever I got plunked down at a customer site and was given QSECOFR temporarily...I always wrote this quicky. It's does the same thing (Gives you QSECOFR authority) but only gives it to yourself and the lovely QCMD command line to do whatever you wish.) Compile that as *OWNER and change owner to QSECOFR. I always told'em I had QSECOFR without knowing the login. Then I'd name the *PGM Qxxxxxx and bury it in QSYS before SECLVL(40) was around. They'd find it but were always afraid to delete it. :-) Just kidding... <hr width=50 align=left>Code ('http://www.mcpressonline.com/mc/showcode@@.6b50abf4/1')

JohnSEDGWICK
11-27-2007, 02:23 PM
Is there a way to adopt authority for WRKNETF from within a CLP so that *ALL may be used. I tried but still receive the not allow error. Thanks