GROW 050 - grow a permanent or temporary file.

Usage:

drl    grow
zero   l(delta),l(fileid)
zero   l(buff),l(stat)

Where:

delta
Gives the request size.
bit 0: unit type
If set to 1, this indicates the request is in links. If set to 0, the request is in llinks.
bits 1-17: grow amount
Number of llinks or links to grow the file. Zero asks the system to choose.
bits 18-35
these bits are unused.
fileid
is a two-word vector containing the aftname of the file.
buff
is a 158-word work area required for permanent files only.
stat
is a two-word status return area. Bits 0-11 of the first word will bet set as follows:
4000
No errors.
400
I/O error: cannot proceed.
401
Link space exhausted.
402
File is not in the AFT.
402
Internal link table checksum error.
404
No PAT space available.

Description:

DRL GROW is used to grow an already accessed (opened) permanent or temporary file. When a growth rate is not specified for a temporary file, its size is increased by an amount equal to the current size of the file or the difference between 1365 links and the current size, whichever value is smallest.

Copyright © 2000, Thinkage Ltd.