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


  • Subject: Re: whoami
  • From: bclark@xxxxxxxxxxxx (Bob Clark)
  • Date: Wed, 08 Jul 1998 08:41:57 -0500
  • Organization: US Safety

2 CL commands you want to look at are:

RTVJOBA - retrieve job atributes
RTVUSRPRF - retrieve user profile

these two commands allow you to retrieve around a hundred useful pieces of
information regarding a specific job and/or user profile into variables.

Scott, Shadrach wrote:

> I have 2 questions.
>
> a) I need an RPG program I have written to be able to tell who is using
> it. In other words I need to retrieve the program callers userid. Is
> there an API I can use to do this? or a CL command? or ?
>
> b) The second question stems from the first. I say I have written an RPG
> program, I have actually started on my second this morning. I am
> teaching my self RPG through the help of Judy Yaeger's book Programming
> in RPG/400 second edition. It has been a good book to start but I am
> ready for and RPG advanced features book or resource of some kind. I am
> curious what book(s) are the essential RPG programmers reference books.
> Do you just use the IBM RPG books that come on the softcopy CD-ROM or is
> there a second party book that if you are going to be an RPG programmer
> you gotta have.
>
> As usual thanks for sharing your wisdom. It is greatly appreciated.
>
> Shadrach Scott
> sscott@hiu.edu
>
> +---
> | This is the Midrange System Mailing List!
> | To submit a new message, send your mail to MIDRANGE-L@midrange.com.
> | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
> | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
> | Questions should be directed to the list owner/operator: david@midrange.com
> +---


begin:          vcard
fn:             Bob Clark
n:              Clark;Bob
org:            US Safety
adr:            8101 Lenexa Dr.;;;Lenexa;Ks;66214;USA
email;internet: bclark@ussafety.com
title:          Programmer/Analyst
tel;work:       913-599-5555 x274
tel;fax:        913-599-1703
x-mozilla-cpt:  ;0
x-mozilla-html: FALSE
version:        2.1
end:            vcard


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.