MPE/iX Quick Reference Guide (32650-90881)

78 Chapter3
Intrinsics Descriptions
Descriptions of the Intrinsics Available in MPE/iX
CATCLOSE
NM and CM callable.
Closes an application message catalog that was opened with CATOPEN.
I32V U16A
CATCLOSE(
catindex,catstatus
)
CATOPEN
NM and CM callable.
Opens an application message catalog that was formatted with the GENCAT utility.
CATOPEN returns a value that identifies the catalog and is used by CATREAD and CATCLOSE.
I32 CA U16A
catindex
:=CATOPEN(
formaldesig,catstatus
);
CATREAD
NM and CM callable.
Provides access to messages in an application message facility formatted by the GENCAT
utility. The CATOPEN intrinsic opens the message catalog.
I16 I32V I16V I16V U16A
msglength
:=CATREAD(
catindex,setnum,msgnum,, catstatus
,
CA I16V CA CA CA CA CA I16V
buffer,buffersize,parm1,parm2,parm3,parm4,parm5,msgdest
);
CAUSEBREAK
NM and CM callable.
Interrupts the program (the entire process structure). The CAUSEBREAK intrinsic is the
programmatic equivalent to pressing
Break in a session. It is not applicable in jobs. The
program is suspended while in break mode. Execution of the program resumes where the
interruption occurred if you enter the RESUME command, or aborts if you enter the ABORT
command.
CAUSEBREAK;
CLEANUSL
NM and CM callable.
Deletes all inactive entries from currently managed USL files and returns the file number
of the new USL file. Therefore, you must test the condition code immediately upon return
from the intrinsic. Unpredictable results occur if an error number is used as a file number.
A USL contains CM object code and is meaningful in the CM program development process
only.
I16 I16V CA
filenum
:=CLEANUSL(
uslfnum,formaldesig
);