370 pts.
 user profile
how to get library list for perticuler user profile?

Software/Hardware used:
rpgle
ASKED: May 8, 2012  6:09 AM
UPDATED: May 9, 2012  7:00 AM

Answer Wiki:
You can get library list for particular user profile based on user's Job Description. Pradeep.
Last Wiki Answer Submitted:  May 8, 2012  8:55 am  by  deepu9321   3,520 pts.
All Answer Wiki Contributors:  deepu9321   3,520 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

THANQ PRADEEP
I WANT TO CREATE RPG PROGRAM TO GET THE LIBRARY LIST FOR PERTICULER USER ID.
ALREADY I CREATED PROGRAM BASED ON JOB DESCRIPTION.

 370 pts.

 

Are you trying to retrieve the library list of a particular user’s current library list(which is currently active through interactive session)?

Pradeep.

 3,520 pts.

 

how to get library list for perticuler user profile?

User profiles don’t have library lists. Jobs have library lists.

You might want to know what job description is associated with a user profile. You can use the RTVUSRPRF command in CL or call the Retrieve User Information (QSYRUSRI) API with format USRI0300 in any available language to retrieve the name and library of the user’s default job description.

If you have the name of a job description, then you can call the job description API to see what library list is given for it.

Tom

 110,135 pts.

 

THANQ guys

 370 pts.