Grant yourself "use" authority on *USRPRF QNOTES and it'll work the same. You automatically have use authority on DUMMY as you created it. To submit a job with another user's profile in the USER parameter, the submitter must have "use" authority to the other user's profile. Check the F1 help on SBMJOB command, USER parameter.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of McGovern, Sean
Sent: Tuesday, January 22, 2013 7:16 AM
To: Midrange Systems Technical Discussion
Subject: RE: QFileSvr.400 authority.
What error do you get in the joblog ?
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: 21 January 2013 20:20
To: midrange-l@xxxxxxxxxxxx
Subject: QFileSvr.400 authority.
I ran CRTUSRPRF DUMMY on one lpar and CRTUSRPRF DUMMY PASSWORD(SOMETHING) on another. Then from the first lpar I ran SBMJOB CMD(CPY OBJ('/QFileSvr.400/gdihq/rob/test.txt')
TOOBJ('/home/rob/test3.txt')) JOB(TEST3) USER(DUMMY) and that worked fine. Ok, passwords don't match. No special authority.
No problem.
But this doesn't work
SBMJOB CMD(CPY OBJ('/QFileSvr.400/gdihq/rob/test.txt')
TOOBJ('/home/rob/test3.txt')) JOB(TEST3) USER(QNOTES) The user isn't disabled.
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
--
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.
--
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.