Accessing Files Programmer's Guide (32650-90885)

50 Chapter2
Creating A File
The BUILD Command
The BUILD Command
The BUILD command creates a file in much the same way as the HPFOPEN/FOPEN intrinsic,
except that HPFOPEN/FOPEN is used within a program and BUILD is entered as an MPE/iX
command.
The parameters for BUILD have meanings and applications that are similar to the
corresponding parameters for HPFOPEN/FOPEN. For more information about how to use the
BUILD command, refer to the MPE/iX Commands Reference Manual.
File Structure
foptions
: file type option
device
parameter
blockfactor
parameter
filesize
parameter
initialloc
parameter
numextents
parameter
Standard
Volume class DISC
128/
recsize
rounded
down
4 gigabytes
0 extents
A variable number of
extents is allocated
File Identification
userlabels
parameter
filecode
parameter
No user labels
filecode
= 0
Table 2-2. Determining a File's Physical Characteristics Using FOPEN
Characteristic Parameter Description Default Value