MPE/iX Quick Reference Guide (32650-90881)

Chapter 3 87
Intrinsics Descriptions
Descriptions of the Intrinsics Available in MPE/iX
Reads a logical record backward from the current record pointer. Data is presented as if
read forward. Used for tape files only. Can recover tape errors when handling I/O
management and data recovery routines.
I16 I16V UDS I16V
transfercount
:=FREADBACKWARD(
filenum,buffer,length
);
FREADBYKEY
NM and CM callable.
Reads a logical record randomly from a KSAM file to the data stack. For KSAM file only.
I16V I16V LA I16V CA I16V
length
:=FREADBYKEY(
filenum,target,tcount,value,location
);
FREADC
NM and CM callable.
Reads a logical record in chronological sequence from a KSAM file to the data stack. For
KSAM files only.
I16V I16V LA I16V
length
:=FREADC(
filenum,target,tcount
);
FREADDIR
NM and CM callable.
Reads a specific logical record or portion of a record from a direct-access disk file to the
data stack.
I16V UDS I16V I32V
FREADDIR(
filenum,buffer,length,lrecnum
);
FREADLABEL
NM and CM callable.
Reads a user-defined label from a disk or magnetic tape file.
I16V UDS I16V I16V
FREADLABEL(
filenum,buffer
,
length,labelid
);
FREADSEEK
NM and CM callable.
Moves a record from a disk file to a buffer in anticipation of a FREADDIR intrinsic call.
I16V I32V
FREADSEEK(
filenum,lrecnum
);