MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » June 2007

Re: User Profile Analysis



fixed

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

NBTY, Inc
(631) 244-2000 ext. 5019
AShore@xxxxxxxx
"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,

Dave

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





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

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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