Skip to content

ZosJesFile

The ZosJesFile object represents a JES spool file that is part of a job’s output. This object can be obtained using the GetFile or GetFiles methods of ZosJesJob.

ZosJesFile Properties

ZosJesFile exposes the following properties:

Property Type R/W Description
Name String R File name for spool file. Spool file names have the following format (.txt is the extension): dsid.jobstep.procstep.ddname.t xt
Path String R Full file system path name for the spool file
DsID String R Spool data set ID (unique identifier).
JobStep String R Job step name.
ProcStep String R Proc step name.
DDName String R DD name.
Owner String R Owner user ID.
Dest String R Print destination.
Forms String R Form number.
ProcessMode String R Process mode.
AppcJobName String R APPC job name.
AppcJobID String R APPC job ID.
Bytes Int64 R Number of bytes.
Lines Int64 R Number of lines.
Pages Int64 R Number of pages.
RecLen Int16 R Record length.
Copies Int16 R Number of copies.
Class Char R Output class.
Queue ZosOutputQueue R Output queue (writer, hold, or external writer).

...

ZosJesFile Methods

ZosJesFile exposes the following methods:

Delete Method

Deletes the JES spool file.

void  Delete() 

Refresh Method

Refreshes the spool file information.

void  Refresh() 

Requeue Method

Re-queues the JES spool file to a new output class and destination.

void  Requeue(  
        Char newClass,  
        String newDest [optional] 
        ) 

...

Back to top