Closing a Catalog [ Message Catalogs:Programmer's Guide ] MPE/iX 5.0 Documentation
Message Catalogs:Programmer's Guide
Closing a Catalog
CATCLOSE closes the message catalog specified by the catindex parameter.
The syntax for the CATCLOSE intrinsic is:
CATCLOSE(catindex, catstatus)
The catindex parameter contains the value returned by the CATOPEN
intrinsic that identifies the message catalog. The first element of
catstatus returns the error number that tells if the call was successful.
Closing the example catalog using the CATCLOSE intrinsic is done as
follows:
var
Catstatus : packed array [1..2] of SHORTINT;
Catindex : INTEGER: {Returned by CATOPEN}
CATCLOSE (Catindex, Catstatus);
For detailed information about the CATCLOSE intrinsic, refer to the MPE
XL Intrinsics Reference Manual (32650-90028).
MPE/iX 5.0 Documentation