2 - grow existing file or create temp file.
Usage:
mme gemore
zero 2,NLINKS
tra FAIL_RTN
Where:
- NLINKS
- gives file size in links.
One link equals 3840 words (12 llinks).
When growing an existing file, NLINKS gives the number of additional links to
add to the file.
When creating a new temporary file, NLINKS gives the initial size of the file.
- FAIL_RTN
- is used as the denial return -- see "expl mme gemore".
- Q register
- has the following values.
- Bits 0-16
- must be zero.
- Bit 17
- is 1 if creating a random temporary file, and 0 if creating a sequential one.
If growing an existing file, this bit is 0.
- Bits 18-23
- must be zero.
- Bits 24-35
- give a file code.
If this file code is associated with an existing file, the file will be grown.
Otherwise, MME GEMORE will create a temporary file with that file code.
Description:
This version of MME GEMORE increases the size of an existing file, or creates
a new temporary file.
MME GEMORE can create a null file which can be used as an end-of-file input
stream or a "bit bucket" output stream.
To do this, specify an unused file code and NLINKS=0.
The PAT and PAT pointer built for this null file will be the same as for the
statement
$ FILE fc,NULL
Copyright © 2000, Thinkage Ltd.