MPE/iX Quick Reference Guide (32650-90881)

90 Chapter3
Intrinsics Descriptions
Descriptions of the Intrinsics Available in MPE/iX
FWRITEDIR
NM and CM callable.
Writes a specific logical record from the stack to a disk file.
I16V UDS I16V I32V
FWRITEDIR(
filenum,buffer,length,lrecnum
);
FWRITELABEL
NM and CM callable.
Writes a user-defined label onto a disk file or magnetic tape file that is labeled with an
ANSI-standard or IBM-standard label. It also overwrites old user labels.
I16V UDS I16V I16V
FWRITELABEL(
filenum,buffer
,
length,labelid
);
GENMESSAGE
NM and CM callable.
Provides access to messages in catalogs that were formatted with the MAKECAT utility.
I16 I16V I16V I16V CA I16V I16V
msglength
:=GENMESSAGE(
filenum,setnum,msgnum
,
buffer,buffersize,parmask
,
* * * * * I16V I16
param1,param2,param3,param4,param5,msgdestination,errornum
);
GETDSEG
NM and CM callable.
Creates or acquires an extra data segment for use by the process. Data segment
management (DS) capability is required. Data segment management (DS) intrinsics are
not recommended for use in the MPE/iX native mode programming environment. Use of
DS intrinsics in NM degrades your program's performance.
U16 I16 U16V
GETDSEG(
index,length,id
);
GETINFO
NM and CM callable.
Returns user-supplied information that was passed to a process when it was created.
I16 CA I16 I16
result
:=GETINFO(
infostring,infolength,parm
);
GETJCW
NM and CM callable.
Returns the value of the system-defined job control word (JCW) to the calling process.