Programs that access MVSSPLPB must:
The mfpubspl.cpy file is located by default in the cpylib sub-directory of your installation directory on Windows systems, or the $COBDIR/cpylib directory on UNIX systems. We recommend that you open it in a file editor to become familiar with its contents.
mfpubspl.cpy contains all of the Working-Storage fields you need to access the MVSSPLPB API from a COBOL program, including function, key, and reason code fields. Add mfpubspl.cpy to your Enterprise Developer project, and include it in your COBOL program to enable the passing of information to and from the MVSSPLPB API.
When you include mfpubspl.cpy in your program:
01 PUBSPL-AREA. copy 'mfpubspl.cpy' replacing ==()== by ==WS-API==.
The mfpubspl.inc file is located by default in the include sub-directory of your installation directory on Windows systems, or the $COBDIR/include directory on UNIX systems. We recommend that you open it in a file editor to become familiar with its contents.
mfpubspl.inc contains all of the fields you need to access the MVSSPLPB API from a PL/I program, including function, key, and reason code fields. It also contains the entry point declaration for the interface program. Add mfpubspl.inc to your Enterprise Developer project, and include it in your PL/I program to enable the passing of information to and from the MVSSPLPB API.