CREATE SPACE [ QUERY/V Reference Manual ] MPE/iX 5.0 Documentation
QUERY/V Reference Manual
CREATE SPACE
Reports the number of unused records in the current Proc-file.
Syntax
C[REATE] SPACE
Discussion
You can use the CREATE SPACE command to find out how much space is left
in the current Proc-file before you begin creating a new procedure. If
you try to create a procedure that is larger than the space left in the
current Proc-file, you will receive an error message and part of the
procedure will be lost. If you know there is not enough space left, you
can either create a new Proc-file, declare another Proc-file which has
more space available, or delete unused procedures from the current
Proc-file.
Each stored procedure starts on a record boundary and extends through as
many records as necessary. Generally, one record is sufficient for most
UPDATE and FIND commands. Long REPORT commands may take more than one
record.
Example
>CREATE SPACE
RECORDS = 109
>DESTROY REPORT7
>CREATE SPACE
RECORDS = 100
>
In the previous example, nine records of space were gained when the
procedure REPORT7 was deleted.
MPE/iX 5.0 Documentation