MVSCASPB API

This program is delivered for compatibility with earlier releases of Enterprise Developer, enabling you to access a subset of job status information held in the spool control files SPLJOB, SPLMSG, and SPLDSN.
Note: This API only gives you access to a subset of the spool control files. For new spool queries, and for access to the complete set of spool control files, we recommend that you use the MVSSPLPB API.

When you submit a batch job to Enterprise Server, job information is written to the spool files, which are continually updated throughout the life of the job. This creates a chronological record of the stages of execution from the job submission stage through to job completion.

The interface for the ESMAC spool queues enables you to view the status of current jobs in Enterprise Server; however, it does not provide full access to the information in the spool files. The MVSCASPB API provides access to all fields previously held in casspool.dat. When you call it from a COBOL program, you can retrieve all or some of this data by referencing one or more keyed indexes.