• Subject: Re: Current User vs. Job Initiator
  • From: "David Prowak" <prowakd@xxxxxxx>
  • Date: Thu, 28 Oct 1999 15:02:41 -0400

I'm not sure if this is what your looking for, but if this is an interactive program,
have you tried using the figurative constant *USER from SDA?
 
Dave
----- Original Message -----
Sent: Thursday, October 28, 1999 11:36 AM
Subject: Current User vs. Job Initiator

Anyone know if there is a value within an ILE RPG program that tells you who the current user is?   It appears the user id value in an ILE RPG's program data structure is the job initiator's user id.  It doesn't matter if the ILE RPG is created from modules or with CRTBNDRPG. 
 
In an OPM RPG program the user id value is the current user's id.  Job initiator and current user are not necessarily the same.  So, I'm wondering if this is an ILE RPG oversight.

This thread ...

Replies:

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

This mailing list archive is Copyright 1997-2019 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 here. If you have questions about this, please contact [javascript protected email address].