What happens when you submit when you are signed on as the user in the
USERID parm?
Running a job with USERID(userid) is not the same thing as running a job as
that user.
Paul
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Alan
Cassidy
Sent: Tuesday, June 23, 2015 3:53 PM
To: Midrange Systems Technical Discussion
Subject: Accessing a Windows share folder using QNTC
I've looked around and cannot find relief elsewhere.
We successfully created a share in QNTC to access a remote Windows server
folder, similar to the following:
/QNTC/10.11.12.14/ABC
We used a user-ID that was authorized to the remote server and folder to
create and connect,
We successfully used CPYTOSTMF to copy the fie to that remote folder (yes
the file from my previous thread).
We need to be able to set up to CPYFRMSTMF now back to a library.
But we need to create this share every day with a job to be included in the
Startup. We tried SBMJOB with USER(USERID) to run the program that creates
the /QNTC subdirectory that accesses the Windows share. Nonetheless, the
program backfires with this message:
Not authorized to object. Object is /QNTC/10.11.12.14/ABC. (I used MKDIR
to "create" the link in QNTC.
I tried Google, www.midrange.com archives, and poked around in the IBM
references, and I can't find anywhere that explains this thing with enough
specifics for what we're doing.
Alan
----------------------------------------------------------------------------
----
Confidentiality Notice: This email may contain confidential information or
information covered under the Privacy Act, 5 USC 552(a), and/or the Health
Insurance Portability and Accountability Act (PL 104-191) and its various
implementing regulations and must be protected in accordance with those
provisions. It contains information that is legally privileged, confidential
or otherwise protected from use or disclosure. This e-mail message,
including any attachments, is for the sole use of the intended recipient(s).
Any unauthorized review, use, disclosure or distribution is prohibited. You,
the recipient, are obligated to maintain it in a safe, secure and
confidential manner. If you are not the intended recipient, please contact
the sender by reply e-mail and destroy all copies of the original message.
Thank you.
----------------------------------------------------------------------------
----
--
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.