Hi David
The CL command DSPUSRPRF can capture User profile data to an outfile.
Using QCMDEXC or my favorite - the API system() (see previous e-mails
titled "Re: Ovrsplf in rpgle program help" this command can be submitted
from an RPG program to create a file in QTEMP.
Then its just a case of a regular RPG subfile program accessing a file.

Alan Shore

(631) 244-2000 ext. 5019
"If you're going through Hell, keep going" - Winston Churchill

midrange-l-bounces@xxxxxxxxxxxx wrote on 06/07/2007 12:01:31 PM:

I have been tasked with writing a user profile analysis program. Before
re-inventing the wheel, I want to find out if there is already one
available that will be a quick-start help. So far, my searches have
proven unfruitful. It appears to take a special talent to put words
together in a way that returns the result set required - and I don't
seem to have that talent...

What I am envisioning is a program that brings up a subfile of user
profiles on the system. It should be able to locate to specific
profiles, and probably should be able to sort by user description as
well as user profile name.

When a user profile is selected, a second screen would come up that
shows all relevant information regarding that user profile, and then
(from a file specific to our company) give a subfile of menu options
that the user has authority for.

This program should also be able to print one or all user profiles and
the menu options that each profile has authority to.

I hoping for at least RPGLE if not SQLLE, and the use of APIs to gather
information would be a bonus (for learning purposes).

Thank you,


This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

This thread ...


Return to Archive home page | Return to MIDRANGE.COM home page