LOAD.V2 V01 RP AUTOMATION INC. 12JAN89
DESCRIPTION
The programs in the file allow only a portion of a file to be
LOAD'd into memory. The VAL-II LOAD command will not allow
this - it loads the entire file into memory.
PREPARATION
Before loading this program into memory, the VAL-II ZALLOCATE
command must be run to allot for at least 1Kw for the scratch
area needed by these programs. The programs are loaded when
the LOAD.V2 file is loaded into memory.
PROGRAM EXECUTION
This feature requires the use of a COMMANDS program to start
the process. To start the program, type "COMM LOAD". This
will cause the COMMANDS program to initiate the main program
that loads in pieces of files.
IF ZALLOCATE WAS NOT DONE BEFORE LOAD'ING THESE PROGRAMS INTO
MEMORY, THE PROGRAM WILL ABORT ITSELF HERE.
A filename is asked for. If no filename is entered, then the
program will be ABORT'd. This will be the file that the data
will be LOAD'd from.
A menu will then be displayed. This menu will ask whether to
load a .PROGRAM, all .REALS, or all .LOCATIONS. An illegal
response will cause the menu to get re-displayed.
If a .PROGRAM is selected, then another query is made for the
program name. If no program name is entered, this program
will be ABORT'd.
The specified file then gets read until the desired data has
been found. When it is found, it is copied into a temporary
file. After this main program completes, the temporary file
is LOAD'd into memory. This file will only contain the data
that was specified previously. Then, the temporary file gets
deleted from the diskette.
NOTES
There must be enough room on the diskette to hold a temporary
file which contains the specified data.
MESSAGES
*** Need to 'ZALLOCATE 1' before loading into memory ***
This message will get displayed if the program finds that the
ZALLOCATE feature was not used to reserve space.
*** Floppy error nn ***
If a floppy error occurs during the program, then this message
will get displayed, where 'nn' is a number which corresponds to
the internal floppy disk drive error code. The codes are:
2 = File already exists (creating new file with same name)
3 = File does not exist (opening file for reading)
4 = Communications error between VAL & floppy
5 = Disk full (writing to disk)
6 = Communications error between VAL & floppy
7 = Communications error between VAL & floppy
10 = Communications error between VAL & floppy
11 = Communications error between VAL & floppy
12 = Floppy not ready
13 = Floppy read error (diskette may be bad)
14 = Communications error between VAL & floppy
41 = No STX received during block transfer
42 = Incorrect checksum received during block transfer
RP Automation
Tel (800) 367-7862 (800) FOR PUMA Fax (203) 792-2154
Email info@rpautomation.com
all content copyright RP Automation 1997