You can see a list of active jobs in the QSOC subsystem and monitor OptiConnect activity by using the Work with Active Jobs (WRKACTJOB) command. This can be helpful in determining the start up 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 will see a SOCMGR job. If an agent job has been started, you will see one or more agent jobs (SOCAnnnnnn jobs) on the target system. Figure 15 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).
Work 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 keys
To determine if agents are active or inactive (prestarted), enter number 5 (Work with) to the left of the job name. Then, choose the option that allows you to view the call stack or view open files. INACTIVE agents are SOCAnnnnnn with no open files.
Active agents are often present until one of the following occurs: