HP Data Entry and Forms Management System (VPLUS) Reference Manual (32209-90024)
Chapter 7 379
USING FORMSPEC IN BATCH MODE
BATCH MODE COMMANDS
FILE
Specifies the current forms file to be used.
Syntax
FILE
file
Parameters
file
is the name of the forms file to be used by subsequent batch mode
commands. The
file
is referred to as the current forms file.
Discussion
The FILE command must precede all other commands in a command file or job stream.
This command opens the specified forms file to be operated on by the other batch mode
commands. Only one forms file can be modified at a time (only one current forms file at a
time). However, more than one forms file can be operated on in one command file or job
stream as long as a FILE command precedes any operations on that file. Note that a FILE
command specifying a new current forms file closes the previous current forms file and
opens the new current forms file. Termination of FORMSPEC automatically closes the
current forms file.
If the file specified does not already exist, it is created. A message indicating that the file
was created is issued.
Example
FILE INVFORMS.PUB
opens the forms file INVFORMS in the PUB group to be operated on by other batch mode
commands.