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,
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

This thread ...


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