There are two types of logs for messages: job logs and history logs.
A job log contains information related to requests entered for a job. The system history log (QHST) contains system data, such as a history of job start and end activity on your system.
Each job has an associated job log.
The job log can contain the following items for the job:
The commands in the job.
The commands in a CL program if the CL program was created with the LOG (*YES) option or with the LOG (*JOB) option and a Change Job (CHGJOB) command is run with the LOGCLPGM (*YES) option.
All messages and message help sent to the requester and not removed from the call message queues.
Working with i5/OS JOBLOG (job logs)
Most Zend Core jobs do not log messages to the i5/OS job logs instead the errors are written to the product log files. (See: ‘/usr/local/zend/apache2/logs’ and ‘/www/zendcore/logs’)
Since PHP processes on i5/OS as well as certain applications are accessing a local i5/OS resource service that runs in its own job (i.e. TCP/IP servers – QSQSRVR and other daemon jobs), you can find information and messages in the i5/OS Job log.
To view an i5/OS current job activity log messages, use the following i5 commands:
WRKACTJOB SBS(ZEND) - Work with Active Jobs.
WRKSBSJOB SBS(ZEND) – Work Subsystem Jobs.
Specify option 5 (Work with Jobs) in front of the job.
On the “Work with Job display”, specify option 10 (Display Job Log) on the command line.
The Work with Jobs display has other options that can be useful when troubleshooting.