Previous Topic Next topic Print topic


mfpubcat.cpy

Describes the use of the mfpubcat.cpy file.

The mfpubcat.cpy file is located by default in the %ProgramFiles(x86)%\Micro Focus\Enterprise Developer\cpylib (Windows) or $COBDIR/cpylib (UNIX) directory. We suggest you open it in any file editor to become familiar with its contents.

mfpubcat.cpy contains all of the Working-Storage fields you need to access the Public Catalog API, including function and reason code fields. Add mfpubcat.cpy to your Enterprise Developer project, and include it in your COBOL program to enable the passing of information to and from the Public Catalog API.

When you include mfpubcat.cpy in your program:
  • Include it in Working-Storage as a child of an 01-level field.
  • Use copy...replacing syntax to replace () with a qualifier. For example:
           01  PUBCAT-AREA.
           copy 'mfpubcat.cpy' replacing  ==()== by ==WS==.
Previous Topic Next topic Print topic