Basic troubleshooting procedure
If you encounter problems when using OptiConnect, follow this procedure
to find out why you are having difficulties. In general, it may be helpful
to try the same DDM transaction over a communication link (LAN, for example).
If no error occurs, follow the steps below to determine where OptiConnect
is failing. If the error still occurs, the problem is not likely to be OptiConnect.
If all OptiConnect DDM accesses are failing, check the following:
- Check to ensure that the system-to-system connections are operational
by using the Work with Hardware Resources (WRKHDWRSC) command. Enter:
WRKHDWRSC TYPE(*CSA)
For more information on this command, see Work with hardware resources (WRKHDWRSC).
- Check to ensure the cables are operational using:
DSPOPCLNK
- Verify that QSOC subsystem is running on both the application systems
and the database system by entering the following command on both:
WRKACTJOB SBS(QSOC)
- Verify that the SOCMGR job is running in the QSOC subsystem. If the QSOC
subsystem is not running, start it. If the subsystem is running, but there
is no SOCMGR job, either the SOCMGR job has been ended, or a software failure
has occurred. Locate the job log that is associated with the SOCMGR job by
entering:
WRKJOB QSOC
Display the log to determine why the SOCMGR
job ended. Report software failures by contacting your service provider.
- Verify that the OptiConnect Connection Manager has established communications
between the source and target systems. Each time a connection is opened or
closed, a message is sent to the system operator message queue. Connections
are closed when the QSOC subsystem has ended, the SOCMGR job has ended, a
system is powered off, or a failure occurs. To display the system operator
messages, enter:
DSPMSG MSGQ(*SYSOPR)
Otherwise, use the following
command to select a particular time period:
DSPLOG LOG(QHST)
Note:
To see only QSOC messages, use DSPMSG QSOC.
- Check to ensure that the QSOC job queue is not held. Enter:
WRKJOBQ JOBQ(QSOC/QSOC)
- Verify that the correct remote location name, device, and mode are defined
in the DDM file used for OptiConnect. See Configure OptiConnect.
Follow these steps if you suspect a problem with a particular application:
- Locate the failing job or job log on the source system.
- Display the job log information and find this message:
DDM JOB STARTED ON REMOTE SYSTEM
- Use F1 to display the detailed message text. The detailed message text
shows the OptiConnect agent job name.
- Locate the agent job on the target system.
- Inspect the job log information for both the application and agent jobs
to locate any unexpected errors.
- If MSGCPF9167 is encountered, see OptiConnect error messages for more information
on communications messages.