Retrieving the current user profile info

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?

    Requires Free Membership to View

    Register today to access targeted resources from our editorial writers and independent industry experts including news, tips, and advice to help you do your job more efficiently and effectively. Stay informed on the hottest topics and biggest challenges faced by IT professionals working with iSeries products and services.

    By submitting your registration information to Search400.com you agree to receive email communications from TechTarget and TechTarget partners. We encourage you to read our Privacy Policy which contains important disclosures about how we collect and use your registration and other information. If you reside outside of the United States, by submitting this registration information you consent to having your personal data transferred to and processed in the United States. Your use of Search400.com is governed by our Terms of Use. You may contact us at webmaster@TechTarget.com.

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


This was first published in November 2003