You can create CA Spool files using different options:
Call the CA Spool interface routines directly from application programs without using any JCL statements.
Execute the ESFPRINT utility, a general purpose print utility program which copies and optionally edits input data sets into a CA Spool file or a SYSOUT data set.
The input can be:
One or more sequential data sets or members of partitioned data sets
One or more partitioned data sets
A VSAM data set
Any program that writes data to sequential OS data sets, can create CA Spool files without any modification to the program itself. The user only has to specify the SUBSYS parameter on the DD statement (or in TSO, issue the command ESFALLOC) to direct the print file to a CA Spool file.
The automatic file transfer interfaces can also be used to deliver files to the primary JES system. Using these interfaces, spool files can be routed back and forth between CA Spool and JES. CA Spool files can also be submitted to JES for batch execution.
The NJE Interface can be used to transfer spool files to CA Spool from other NJE nodes running JES2, JES3/BDT, RSCS, POWER, OS/400, or CA Spool.
Note: For additional information,see the SAP section in this chapter.