Previous Topic: How to Invoke POI Command ProcessorsNext Topic: Abbreviations in Command Processor Text


Issue POI Commands in Batch Mode

Use the following JCL to run a single POI command as a batch job step:

// EXEC PGM=command,PARM='command parameter'

Use the following JCL to issue multiple POI commands running under the TSO TMP as a batch job step:

// EXEC PGM=IKJEFT01,PARM='first TSO or POI command or CLIST to be executed'
// SYSPROC DD DISP=SHR,DSN=user.clistlib
// SYSEXEC DD DISP=SHR,DSN=user.rexxlib
// SYSTSPRT DD SYSOUT=*
// SYSTSIN DD *
   (TSO commands or CLISTs to be executed,
                   * including *
    POI commands to be executed,
                   * including *
    OX commands to invoke OPS/REXX programs from data sets,
    OI commands to invoke OPS/REXX programs from //SYSEXEC)
    /*