HP 3000 Manuals

FILE [ HP TRANSACT Quick Reference Guide ] MPE/iX 5.5 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
     [REV BEG]
     OPTIONS WITH CONTROL MODIFIER[REV END]
     CODE=number 
     PARM=item-name[(subscript)]
     [REV BEG]
     OPTION WITH OPEN, READ, UPDATE, and WRITE MODIFIERS[REV END]
     LIST=(range-list)
     [REV BEG]
     OPTIONS WITH SORT MODIFIER[REV END]

{SORT=(range-list)                              }
{SORT=(item-name1[(ASC)][,item-name2[(ASC)]...])}
{                [(DES)]            [(DES)]     }
Example 

     FILE(CONTROL) MPEFILE,CODE=45;



MPE/iX 5.5 Documentation