[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Max length direct access files
Date: Thu, 20 Jun 1991 08:16 EDT
Date: Thu, 20 Jun 91 14:13+0100
From: Marie-Christine Timmermans <MC@MILOU>
Subject: Max length direct access files
Does anyone know if there is a length set in advance for direct
access files ?
If so, how can we change this maximum length ?
Your problem isn't the maximum length, it's the current length. Here's
the relevant section of the manual
Direct Access Output File Streams
You create direct access output to output and bidirectional direct ac-
cess file streams by sending a :SET-POINTER message to the stream,
and beginning to write bytes using standard messages, such as :TYO,
:STRING-OUT, and so forth. The bytes are written to the file starting
at the location requested, at successive file positions. Although you
can extend the file in this manner, you cannot do a :SET-POINTER to
beyond the current end of the file.
Note the last sentence. 1136 isn't the maximum length of a file (that
would be a really short maximum length, don't you think?), it's the size
of a single LMFS record in words.