no - there is a distinct reason why there are 2 profile names - and it would be a unreliable system if one could override the values of what the real attributes of an executing program are.

----- Original Message ----- From: "Ashish Kulkarni" <ashish.kulkarni13@xxxxxxxxx>
To: "Midrange Systems Technical Discussion" <midrange-l@xxxxxxxxxxxx>
Sent: Monday, August 24, 2009 11:31 AM
Subject: Override program status data structure

HiWe have lot of RPG and RPGLE programs using program status data structure
to get current user id,

It is looking for position 254 263 which is User name from the user

But if we are calling this RPGLE program from java this will return QUSER as
user, to get the current user id we will have to look in position 358 367
which will be Current user profile name.

Now to do this we will ahve to go to all the RPGLE and RPG programs and
change them manually and then recompile them,

Is there a way i can create an override or some thing to get user id value
from 358 367 in place or 254 263, in other words some thing which i can do
externally and avoid changing all the RPGLE programs

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


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

This mailing list archive is Copyright 1997-2019 by 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].