Calling MVSCASPB

Call MVSCASPB using the following syntax to provide access to the job status information held in the JES spool files.

Syntax

call mvscaspb using field-name

Parameters

field-name
The parent field that holds the mfpubcas copybook fields.

Example

Define a data structure in Working Storage to include mfpubcas copybook fields:
       01  pubcas-area.
           copy 'mfpubcas.cpy' replacing  ==()== by ==WS==.
Call mvscaspb:
call 'mvscaspb' using  pubcas-area