Home > Ask the AS/400 Experts > iSeries Systems Management Questions & Answers > Locating user profiles with the WRKUSRJOB command
Ask The iSeries 400 Expert: Questions & Answers
EMAIL THIS

Locating user profiles with the WRKUSRJOB command

Glen H. Bunnell EXPERT RESPONSE FROM: Glen H. Bunnell

Pose a Question
Other iSeries 400 Categories
Meet all iSeries 400 Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 07 February 2005
I would like to use the command WRKUSRJOB with a generic user profile, such as LOPS*. I want to see all the jobs that belong to the users whose profile start with LOPS. Is there any method to implement this?

>
Unfortunately, I do not know of a command that allows you to do this. However, you could create your own command and accomplish what you are looking for with a little programming. To accomplish this, I would execute the following steps:

1. Execute the following command in a CL:
DSPOBJD OBJ(LOPS*) OBJTYPE(*USRPRF) OUTPUT(*OUTFILE) OUTFILE(QGPL/USRPRF)

Then , create a program to read through the output file from the above command and do a WRKUSRJOB for each user profile in the file and output to another work file. I would then read through this work file to display a screen of all the jobs. You will need to bring the functionality of the WRKUSRJOB to the screen to work with. Hope this helps.

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

The Best Web Links: Tips, tutorials and more.

Visit the ITKnowledge Exchange and get answers to your systems management questions fast.

Read this Search400.com Featured Topic: Take control of your iSeries.

Ask the Experts yourself: Our systems management gurus are waiting to answer your technical questions.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
iSeries Systems Management
Transfer files from one environment to another without closing all other AS/400 sessions
Send a *LMSG successfully on AS/400 using the SNDDST command
Extend storage capacity on an IBM i without negatively effecting system performance
Configure the iSeries v5r4 to open the HTTPS port for incoming connections
Changing system CCSID
Changing user password expiration
Detecting system changes made by outside IP address
HIPER PTF installation and cover letters for SF99097
Library QUSRSYS not completely installed
SQL statement history storage

iSeries service and support issues
Error CWBCO1049 on AS/400
Incorrect CCSID on FTP connection from AS/400 to Windows
System i users: Power Systems merger good, OS name change mixed
Personalize your iSeries
Top System i admin tips for 2006
iSeries customers rather fight than switch
Cleaning up the QSYS library
Email to pager over iSeries
The straight story on PTF installs
Execute programs from a user profile
iSeries service and support issues Research

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
authorized program analysis report  (Search400.com)
CPW  (Search400.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



iSeries Networking - Printing, Remote Access, TCP/IP
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts