Working with active jobs (WRKACTJOB)
To see a list of active jobs in the QSOC subsystem and monitor OptiConnect activity, use the Work with Active Jobs (WRKACTJOB) command. This can be helpful in determining the startup parameters that are passed to the OptiConnect connection manager.
To see the active jobs in the QSOC subsystem, enter WRKACTJOB SBS(QSOC).
If the QSOC subsystem is running, you see a SOCMGR job. If an agent job has been started, you see one or more agent jobs (SOCAnnnnnn jobs) on the target system. Figure 1 shows a sample of the Work with Active Jobs display. As you can see, the SOCMGR job is running, as well as one agent job (SOCA000001).
Figure 1. Work with Active Jobs displayWork with Active Jobs SYSTEMA 12/02/95 15:13:17 CPU % .0 Elapsed time: 00:00:00 Active Jobs 60 Type options, press Enter. 2=Change 3=Hold 4=End 5=Work with 6=Release 7=Display message 8=Work with spooled files 13=Disconnect ... Opt Subsystem/Job User Type CPU % Function Status _ QSOC QSYS SBS .0 DEQW _ SOCA000001 QSOC BCH .0 DEQW _ SOCMGR QSOC ASJ .0 PGM-QYYCMGR DEQW Bottom Parameters or command ===> _________________________________________________________________________ F3=Exit F5=Refresh F7=Find F10=Restart statistics F11=Display elapsed data F12=Cancel F23=More options F24=More keysTo determine if agent jobs are active or inactive (prestarted), enter 5 (Work with) to the left of the job name. Select the option that allows you to see the call stack or open files. Inactive agent jobs are SOCAnnnnnn jobs with no open files.
Active agent jobs are often present until one of the following situations occurs:
- The source system job ends, or you log off.
- The source system job ends, or you use the Reclaim Resources (RCLRSC) command.
- The source system job ends, or you use the Reclaim DDM Conversations (RCLDDMCNV) command.
Parent topic:
Getting information about OptiConnect activity