MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » July 2008

Re: swap profile handles...



fixed

Thanks for the reply

DUPSPLF is from the TAATOOLS (circa 1995 version...)it uses several of the QSP* api's to make a copy of a spool file...

Yes, I am checking the error codes. I do know the swap occurs because my app (a interactive list of user spool files, with ability to copy to other queues, some of which are "secure" (*public *exclude)) does show the spool files of my swapped profile...

Crispin Bates wrote:
What is DUPSPLF?

QWTSETP changes the job to run under the User that you retrieved a handle for with QSYGETPH. The original user is completely out of the picture at that point, so it has nothing to do with the original users authority to the Outq.

Are you checking the Error Code from QSYGETPH?

----- Original Message ----- From: "Gerald" <gmagnuson@xxxxxxxxxxxxx>
Newsgroups: midrange.midrange-l
To: <midrange-l@xxxxxxxxxxxx>
Sent: Friday, July 25, 2008 9:25 AM
Subject: swap profile handles...



I am trying to get spool files copied into a secure outq.
When I execute the swap (via QSYGETPH & QWTSETP) and run DUPSPLF, the
DUPSPLF ends with a CPF4244 - not authorized to output queue...

The user I am swapping to is the owner of the outq, and also has *all
object authority on that object(the output queue)...

Could the problem be that the original user would fall in to the *PUBLIC
*EXCLUDE authority?

--
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.









Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot COM and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available here. If you have questions about this, please contact