MPE/iX Quick Reference Guide (32650-90881)

86 Chapter3
Intrinsics Descriptions
Descriptions of the Intrinsics Available in MPE/iX
CLOCK intrinsics, and returns it in the following format:
FRI, JAN 27, 1989, 12:39 AM
U16V I32V CA
FMTDATE(
date,time,datetime
);
FOPEN
NM and CM callable.
Establishes access to a file and defines the physical characteristics of the file prior to
access.
I16 CA U16V U16V I16V CA CA I16V
filenum
:=FOPEN(
formaldesig,foption,aoption,recsize,device,formmsg,userlabels
,
I16V I16V I32V I16V I16V I16V
blockfactor,numbuffer,filesize,numextent,initialloc,filecode
);
FPARSE
NM and CM callable.
Parses and validates MPE (only) file designators.
CA I16A U16A I32A
FPARSE(
formaldesig,result
,
item,vector
);
FPOINT
NM and CM callable.
Sets the logical record pointer for a disk file containing fixed-length or undefined-length
records to any logical record. When the next FREAD or FWRITE file request is made, this
record is read or written to.
(KSAM) Sets both the chronological and logical record pointers to the next record in
chronological sequence (the order records were written to the file).
I16V I32V
FPOINT(
filenum,lrecnum
);
FREAD
NM and CM callable.
Reads a logical record or portion of a record from a file to the stack.
I16 I16V UDS I16V
transfercount
:=FREAD(
filenum,buffer,length
);
FREADBACKWARD
NM and CM callable.