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

Understanding the WRKACTJOB command

In the WRKACTJOB, which command or program is called when the Option 7 is selected over a job that is in MSGW status?
WRKACTJOB runs QWCCDSAC (Display active jobs). From there, option 7 against a valid job runs QWCSDSMR, probably to handle the job's message queue, and QMHSCLVL, probably to get the second-level text, and so on. There are no useful programs there for you. If you told us what you wanted to do, we may be able to help you. But knowing which programs are being run is not helpful to you at all.

If you want to write some sort of message handler yourself, read up about User Exit programs. You may find a User Exit Point which you can use to trigger your own program when a job sends an Inquiry message.

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

The Best Web Links: tips, tutorials and more.

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

Ask the Experts yourself: Our application development gurus are waiting to answer your programming questions.

Dig Deeper on iSeries programming commands

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