When the DB2 Universal Database™ for iSeries™ application
server recognizes a special transaction program name (TPN), it causes the
application server to send a message to the system operator and then wait
for a reply.
This allows you to issue a Start Service Job (STRSRVJOB) command
that allows job trace or debug to be started for the application server job.
To
stop the DB2® UDB for iSeries application
server job and restart it in debug mode, follow these steps:
- Specify QCNTSRVC as the TPN at the
application requester. There is a different method of doing this for each
platform. This topic collection describes the different methods. When the i5/OS™ application receives a TPN
of QCNTSRVC, it sends a CPF9188 message to QSYSOPR and waits for a G (for go)
reply.
- Before entering the G reply, use the Start
Service Job (STRSRVJOB) command to start a service job for the application
server job and put it into debug mode. (Request help on the CPF9188 message
to display the jobname.)
- Enter the Start Debug (STRDBG) command.
- After starting debug for the application server job, reply to the
QSYSOPR message with a G. After receiving the G reply,
the application server continues with normal DRDA® processing.
- After the application runs, look at the application server job
log to see the SQL debug messages.