×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




This is not the TAATOOL command. The TAATOOL one is SWPUSRPRF and doesn't take these parameters. It also sounds like GAD determined the problem isn't with the swap at all.

-- David Dykstal, TAA Tools

On 10/23/20, 5:50 AM, "MIDRANGE-L on behalf of Jack Kingsley" <midrange-l-bounces@xxxxxxxxxxxxxxxxxx on behalf of iseriesflorida@xxxxxxxxx> wrote:

Gad, is this a TAATOOL command.

On Thu, Oct 22, 2020 at 12:49 AM Gad Miron <gadmiron@xxxxxxxxx> wrote:

> Hello Rob, Alan , Scott
>
> Further testing has proved me partially wrong .
>
> Occasionally the CL PGM does manage to create a non-empty target text file
> although partially (not the entire file).
> most of the times though, an empty file is created.
>
> executing the CPYTOIMPF part directly from the command line (using the
> WINUSER profile) is less erratic but still most of the times an empty file
> is created.
>
> I conclude then that the problem does not lie with SWAPUSRPRFF
>
> While debugging I changed the target directory to an
> NFS-mounted-Windows-directory
> (no need to swap user) and with this target directory the CPYTOIMPF
> succeeded every time
> (much slower though )
> The A/M NFS mount bypass the Windows permission mechanism, perhaps
> that's why it succeeds .
>
> Our Windows domain administrator re-checked permissions on the file server
> side and said
> they are correct.
>
> I'm at a loss
>
> Any idea, anyone?
>
> Gad
>
>
>
>
>
>
> >
> > date: Wed, 21 Oct 2020 10:36:09 -0500
> > from: Scott Klement <midrange-l@xxxxxxxxxxxxxxxx>
> > subject: Re: Help with SWAPUSRPRF
> >
> > Gad,
> >
> > What is SWAPUSRPRF??? Is this a utility that you (or someone in your
> > shop) wrote?? Can you tell us more about how it works and how error
> > handling with this program is intended to work?
> >
> > My guess is that this SWAPUSRPRF program uses either the profile handle
> > or profile token APIs to change the userid of the job.? If this is the
> > case, then it wouldn't be related to activation groups, since these
> > tools work at the job level, not the activation group level.
> >
> > Have you tried calling the profile handle APIs directly from your CL
> > program?? Does that have the same problem?? If so, it would tell you
> > that the problem is in those APIs.? If not, you'd know the problem is in
> > the SWAPUSRPRF program and you could troubleshoot it accordingly.
> >
> > -SK
> >
> >
> >
> --
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
> To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: https://lists.midrange.com/mailman/listinfo/midrange-l
> or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at https://archive.midrange.com/midrange-l.
>
> Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
> questions.
>
> Help support midrange.com by shopping at amazon.com with our affiliate
> link: https://amazon.midrange.com
>
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.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 on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.