System i - Troubleshooting - Output Queue

Follow

Applies To:

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

Preface

Working with Output Files - Spooled Files

Ou   Output queues are areas where printer output files (also called spooled files) wait to be processed and sent to the printer.

Printer output is created either by the system or by the user using a print file.

A spooled file holds output data until it can be printed. The spooled file collects data from a device until a program or device is able to process the data.
A program uses a spooled file as if it were reading from or writing to an

actual device. This is input and output spooling.

Details

If a job ends abnormally, error messages are written to spooled files on an output queue, QEZJOBLOG. These files are very helpful in tracking down database access problems.

WRKSPLF SELECT(<user_profile>)command to view messages for jobs that are no longer running.

Where <user_profile> is the user profile under which the job was running.

Specify option 5 (Display) in front of the file you want to view.

Zend Products are using the following user profiles:

  • ZENDADMIN
  • ZENDTECH
  • NOBODY
  • NOGROUP
  • QSYS
  • QTCP

 

  1. Create a new OUTQ -> CRTOUTQ OUTQ(QGPL/ZENDOUTQ)
  2. Most of the users created by Zend are using the jobd  QGPL/QDFTJOBD
  3. CHGJOBD JOBD(QDFTJOBD) OUTQ(*USRPRF) TEXT(' Default job description')
  4. Than change the users ZENDADMIN, NOBODY,NOGROUP,ZENDTECH
  5.  CHGUSRPRF USRPRF(ZENDTECH) OUTQ(QGPL/ZENDOUTQ) - run the command for the users listed in step 4.
  6. The i5_COMD daemon is running under the user QTCP - we can not change this user since it is used system wide, so for the toolkit output we will change the JOBD.
  7. CHGJOBD JOBD(ZENDCORE/I5_COMD) OUTQ(QGPL/ZENDOUTQ)
  8. When ending the Zend SBS a joblog will be created in the default OUTQ -> to include this log run the command ->
  9. CHGSPLFA FILE(QPJOBLOG) JOB(QSYS/ZEND) OUTQ(ZENDCORE/NOBODY) 

 

 

Excerpt: Working with i5/OS OUTQ (output queue)


Original Post Date: 2012-07-28 01:33:35

External Links:

i5/OS Output queue
i5/OS Information Center
IBM Information Center (RedbBooks)

Alternative Description:

Working with i5/OS OUTQ (output queue)

_____
Tags: i5/OS,IBM i V6,IBM i V7,jobd,output,OUTQ,qdftjobd,queue,spool file,user,Zend Core,Zend Platform,Zend Server for IBM i,oldKB

Have more questions? Submit a request

Comments

Powered by Zendesk