Running IOF in Background

The TSO version of IOF will operate under TSO in background (batch) mode. You may need to consult your technical support staff to see which IOF functions are authorized for you when you are running IOF in TSO background.

Any TSO user or background job is normally granted the authority to look at its own output by using the CURRENT operand of IOF. For example:

IOF      *  CURRENT

would invoke the IOF Job Summary and display the TSO user or background job that is currently running the IOF command. This means that an IOF step can be added to the end of a batch job to perform conditional routing and disposition, based upon return codes from the previous steps.

If your installation does not provide a cataloged procedure for running TSO in background mode, the following statements can be used to execute TSO commands in the background:

// EXEC PGM=IKJEFT01 //SYSTSPRT DD SYSOUT=A //SYSPROC DD DISP=SHR,DSN=iof.clist.library //SYSTSIN DD * ... TSO Commands ...


Table of Contents