Q
Problem solve Get help with specific problems with your technologies, process and projects.

Retrieving the current user profile info

I am trying to differentiate the priorities given to the QZLSFILE jobs based on the user profile being serviced by the job. How can one retrieve this user profile information?

When a server job services a user, the requesting user profile is stored as the "Current User" of the server job. The current user can be retrieved using the RTVJOBA command:

 RTVJOBA JOB(QZLSFILE) USER(QUSER) NBR(&JOBNBR)
CURUSER(&CURUSER) 

==================================
MORE INFORMATION ON THIS TOPIC
==================================

The Best Web Links: tips, tutorials and more.

Ask your OS/400 questions -- or help out your peers by answering them -- in our live OS/400 discussion forums.

Ask the Experts yourself: Our OS/400 gurus are waiting to answer your questions.

Check out this Search400.com Featured Topic: Top 10 expert tips for OS/400


Dig Deeper on Past Releases

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close