While they can read much faster than this for large sequential files, small random files ( such as in software ) will load just as fast.
12.
One can, however, request a reference for the current line of a sequential file, and use that reference to jump to that specific location again.
13.
For example, it can read sequential files based on the input format specified, then look up certain fields in a VSAM file or in another sequential file.
14.
For example, it can read sequential files based on the input format specified, then look up certain fields in a VSAM file or in another sequential file.
15.
This data is then periodically dumped to sequential files ( for example, tape drives ) using the IFASMFDP SMF Dump Utility ( or IFASMFDL when using log streams ).
16.
Sequential files are somewhat more efficient in terms of space than line files and can be more efficient in terms of CPU time too when compared with large disorganized line files.
17.
An indexed file can have multiple alternate indexes ( X ), and in fact, a sequential file may have alternate indexes placed on it so there is no primary index.
18.
Sequential files are also used to force new lines to be appended to the end of the file without the need to give the line number range ( LAST + 1 ).
19.
They have all the restrictions of Sequential Files, except that the line number could be specifically supplied when writing to a file ( as long as it is greater than the last line number written to the file ).
20.
File name specifiers can also be used here, for example, SAVE " FILE ", 8 saves the BASIC program to a PRG ( program ) file and SAVE " 0 : FILE, SEQ, WRITE ", 8, 1 saves the BASIC program to a sequential file.