SAPI (SYSOUT API)
With the SAPI interface, the platform server supports extracting data from a JES Spool and sending this data to a remote node. One of the more useful features of the platform server is the ability of sending the data to a remote system as a file rather than as a report. You can specify substitutable parameters to make the remote file unique.
When the platform server SAPI interface is enabled, the SAPI interface scans the NODE definition for SAPI selection criteria. If no selection criteria are defined, the next node is checked until all of the nodes are scanned. When a NODE definition is found with SAPI selection criteria defined, the platform server calls JES to see whether any output for the selection criteria exists. If output exists, the platform server queues a request to that node. Then, the request is processed and the data is sent to the remote system. When the request is completed, the spool data disposition depends on the NODE SAPI_DISP parameter.