Download User Guide - COMMON ROMANDIE

Transcript
Zend Core
Spooled File
i5_spool_list
resource i5_spool_list([array description][, resource connection])
Create an spool file lists, of certain output queue or for all queues.
Returns: resource if OK, false if failed
Arguments:
The data by which the sppol files will be filtered, array with following keys:
description
•
•
•
username - username that created the job
outq - qualified name for the output queue containing the spool file
userdata - the user-supplied key data for the spool file
All keys are optional and can be provided together
connection
Connection - result of i5_connect.
i5_spool_list_read
array i5_spool_list_read(resource spool_list)
Gets spool file data from the queue.
Returns: next spool file data array in the list, or false if queue is empty.
The data will be formated using SPLF0300 format. See following link for more details:
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/index.jsp?topic=/apis/QUSLSPL.htm
Arguments
Spool_list
resource received from i5_spool_list
:
i5_spool_list_close
void i5_spool_list_close(resource spool_list)
Free spool list resourse
Returns: Boolean success value
Arguments
Queue
resource received from i5_spool_list
66