Zend - The PHP Company


Search:    

System i - Troubleshooting - Job Log

Article ID: 401
Last updated: 27 Jul, 2012
Views: 3800

This article applies to:

[ Zend Core V2.x ]
[ IBM System i ]


Preface

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.

Details

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:

  1. WRKACTJOB SBS(ZEND) - Work with Active Jobs.
  2. WRKSBSJOB SBS(ZEND) – Work Subsystem Jobs.
  3. Specify option 5 (Work with Jobs) in front of the job.
  4. On the “Work with Job display”, specify option 10 (Display Job Log) on the command line.

Note:
The Work with Jobs display has other options that can be useful when troubleshooting.

This article was:   Helpful | Not Helpful
Also read
document System i - Troubleshooting - History log
document System i - Troubleshooting - Output Queue

External links
i5/OS JobLog
i5/OS Information Center
IBM Information Center (RedbBooks)

Also listed in
folder Zend Core
folder Zend Server

Prev   Next
System i - Troubleshooting - History log     System i - Troubleshooting - Output Queue

RSS