FILE [ HP TRANSACT Quick Reference Guide ] MPE/iX 5.0 Documentation
HP TRANSACT Quick Reference Guide
FILE
FILE(modifier) file-name[,option-list];
MODIFIERS
CLOSE - Closes the file
CONTROL - Performs an FCONTROL operation
OPEN - Opens the file
READ - Reads record from the file
SORT - Sorts the file
UPDATE - Replaces current record
WRITE - Writes record to file
OPTIONS WITH CONTROL
CODE=number
PARM=item-name[(subscript)]
OPTION WITH OPEN, READ, UPDATE, and WRITE
LIST=(range-list)
OPTION WITH SORT
{SORT=(range-list) }
{SORT=(item-name1[(ASC)][,item-name2[(ASC)]...])}
{ [(DES)] [(DES)] }
Example
FILE(CONTROL) MPEFILE,CODE=45;
MPE/iX 5.0 Documentation