118 Chapter 2
Command Definitions A-B
BUILD
Examples
The following example creates a permanent disk file named WORKFILE, which can reside
on any disk. WORKFILE has fixed length records of 80 bytes each. The records are blocked 3
records per block (which is the blockfactor), and are written in ASCII code. The file has a
maximum capacity of 2000 records divided into 10 extents with 2 extents initially
allocated.
BUILD WORKFILE;REC=-80,3,F,ASCII;DISC=2000,10,2
The following example uses the CODE= parameter to create a logging file called NEWDATA:
BUILD NEWDATA;DISC=3000,1,1;CODE=LOG
Related Information
Commands COPY, LISTFILE, LISTF, LISTFTEMP, PURGE, RENAME
Manuals MPE/iX Intrinsics Reference Manual
Native Mode Spooler Reference Manual