Sorry - doing too many things at once. Yes, QNOTES....
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of rob@xxxxxxxxx
Sent: 22 January 2013 14:23
To: Midrange Systems Technical Discussion
Subject: RE: QFileSvr.400 authority.
What makes you think it's QUSER having *NONE as a password setting?
SBMJOB ... USER(DUMMY) works
SBMJOB ... USER(QNOTES) doesn't.
Did you mean to say QNOTES having *NONE? Let me test that...
CHGUSRPRF USRPRF(DUMMY) PASSWORD(*NONE)
On both machines.
This now fails.
SBMJOB CMD(CPY OBJ('/QFileSvr.400/gdihq/rob/test.txt')
TOOBJ('/home/rob/test4.txt')) JOB(TEST4) USER(DUMMY)
So I run
CHGUSRPRF USRPRF(DUMMY) PASSWORD(dummy)
on both machines. And I run
SBMJOB CMD(CPY OBJ('/QFileSvr.400/gdihq/rob/test.txt')
TOOBJ('/home/rob/test4.txt')) JOB(TEST4) USER(DUMMY) and it works.
Ok, so you kind of nailed it. Thanks. Now I have to think of a workaround.
Rob Berendt