Thanks Mark and David. RTVJOBA CURUSER() did the trick.
Charles
> -----Original Message-----
> From: Mark Phippard [mailto:MarkP@xxxxxxxxxxxxxxx]
> Sent: Thursday, August 26, 2004 2:42 PM
> To: Websphere Development Studio Client for iSeries
> Subject: Re: [WDSCI-L] Determining user a server job is servicing
>
>
> In addition to RTVJOBA, RTVUSRPRF also works. About the only
> thing that
> doesn't is looking at the USER portion of the job information
> such as is
> in the RPG PSDS.
>
> Mark
>
>
> wdsci-l-bounces@xxxxxxxxxxxx wrote on 08/26/2004 02:06:24 PM:
>
> > I've got a program that makes use of the user ID to setup
> library lists
> for
> > developers.
> >
> > It works fine when called from the green screen, but when
> called through
> a
> > server job it fails. Specifically, I was trying to use it
> from WDSc.
> (Thus
> > the cross-post to the WDSc List ;-)
> >
> > Is there an API I can call to determine what profile is
> being serviced?
> >
>
>
> ______________________________________________________________
> _______________
> Scanned for SoftLanding Systems, Inc. by IBM Email Security
> Management Services powered by MessageLabs.
> ______________________________________________________________
> _______________
> _______________________________________________
> This is the Websphere Development Studio Client for iSeries
> (WDSCI-L) mailing list
> To post a message email: WDSCI-L@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/wdsci-l
> or email: WDSCI-L-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/wdsci-l.
>