HP Data Entry and Forms Management System (VPLUS) Reference Manual (32209-90024)

Chapter 7 399
USING FORMSPEC IN BATCH MODE
SAMPLES OF FORMSPEC IN BATCH MODE
SAMPLES OF FORMSPEC IN BATCH MODE
The following are samples of how FORMSPEC in batch mode is used, first with a
command file and then with the commands directly in the job stream.
Sample Command File
FORMSPEC in batch mode can be executed with the following commands:
:FILE FORMOUT;DEV=LP
:RUN FORMSPEC.PUB.SYS;INFO="FORMCMDS.PUB.MFG"
The MPE :FILE command directs batch mode output (commands and error messages) to
the list device. The MPE :RUN command with the INFO
=filename
parameter executes
FORMSPEC in batch mode, taking batch mode commands from the command file
FORMCMDS.PUB.MFG. Remember, you must first create the command file using a text editor.
Sample Job Stream
To stream a job using FORMSPEC in batch mode, you must first create the job file using a
text editor. Then, stream the job using the MPE :STREAM command.
The following is a listing of a sample job stream which compiles a forms file and documents
its contents:
!JOB FORMUPDT, MIKE.MFG,FORMS
!FILE FORMOUT; DEV=LP
!RUN FORMSPEC. PUB.SYS
FILE FORMSF1
COMPILE
FORMS
EXIT
!EOJ