Call MVSSPLPB using the following syntax to provide access to information in the spool control files.
COBOL Syntax
call mvssplpb using field-name
PL/I Syntax
call MVSSPLPB (field-name);
Parameters
- field-name
- The parent field that holds the
mfpubapl copybook fields.
COBOL Example
Define a data structure in Working Storage to include
mfpubspl copybook fields:
01 pubcas-area.
copy 'mfpubspl.cpy' replacing ==()== by ==WS-API==.
Call mvscaspb:
call 'mvsaplpb' using pubcas-area
PL/I Example
Include the interface data structure:
%include mfpubspl;
Call MVSSPLPB:
call MVSSPLPB (field-name);