The FRESIZE function allows you to specify a
maximum size for a component file. The syntax is:
NEWSIZE FRESIZE TIENO {PASS}
TIENOis the tie number you used to tie or create
the file (or the tie number returned by APLX if you tied or created it using 0
instead of your own tie number). If you
tied the file using a pass number, you must provide the same pass number, as
the PASS parameter.
The left argument NEWSIZE is the maximum size (in
bytes) to which the file will be allowed to grow. If NEWSIZE
is 0, the file size is not limited by APLX, although the maximum size is still
subject to any operating-system imposed limit and available disk space.
If you try to write to a file in a way which would cause the
file size to exceed the limit, APLX will generate the error FILE ALLOCATION EXCEEDED.
The default is 0, meaning there is no limit.