× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On Mon, 2005-03-21 at 14:56 -0600, David Gibbs wrote:
> Rich Duzenbury wrote:
> >>You can get the current user from the RPG program's status data
> >>structure positions 358 through 367.  Job initiator is in positions 254
> >>through 263.
> > Ahh, that's the ticket.  I was using the data in 254-263.  
> 
> Be careful using that ... RPG only updates the job, user ID and many
> other fields when the program is initially loaded. The only way to
> refresh the PSDS is to end the program *INLR=*ON and return to the
> caller. Then call the program again. (so sayeth Bob Cozzi on
> http://archive.midrange.com/rpg400-l/200208/msg00509.html).

Right, understood.  In my case, I change the current user, then call a
new, different RPG program that only runs for a short time.  I believe
the SDS in that program will always be up to date.  


--
Regards,
Rich

Current Conditions in Des Moines, IA
Overcast
Temp 48.2F
Winds out of the East at 17, gusting to 23mph



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