Use Qshell Unix-style capabilities to filter the job list and find exceptions.
The following command displays a filtered list of active jobs in MSGW status:
QSH CMD('system wrkactjob | grep ''MSGW''')
The list can be redirected into your file of choice for further processing.
QSH CMD('system wrkactjob | grep ''MSGW'' > /qsys.lib/yourlib.lib/qtxtsrc.file/xyz.mbr')
MORE INFORMATION ON THIS TOPIC
The Best Web Links: Tips, tutorials and more.
Ask your systems management questions--or help out your peers by answering them--in our live discussion forums.
Read this Search400.com Featured Topic: Managing your iSeries.
Ask the Experts yourself: Our systems management gurus are waiting to answer your technical questions.