Yes, it would fail.
I wasn't sure it was submitting.
Pete
--
Pete Massiello
iTech Solutions
http://www.itechsol.com
http://www.iInTheCloud.com
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: Tuesday, January 22, 2013 8:48 AM
To: Midrange Systems Technical Discussion
Subject: RE: QFileSvr.400 authority.
Pete,
I have access to user profile QNOTES. I submit the job and it runs until it tries the CPY. If I didn't have access to QNOTES wouldn't the SBMJOB fail and not the submitted job?
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: Pete Massiello - ML <pmassiello-ml@xxxxxxxxxxxx>
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>,
Date: 01/22/2013 08:42 AM
Subject: RE: QFileSvr.400 authority.
Sent by: midrange-l-bounces@xxxxxxxxxxxx
Does your current user profile have *AllOBJ? Do you have access to QNOTES
user profile? Is it something to do with using another profile that has
*ALLOBJ?
Pete
--
Pete Massiello
iTech Solutions
http://www.itechsol.com
http://www.iInTheCloud.com
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [
mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of McGovern, Sean
Sent: Tuesday, January 22, 2013 8: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.