HPlogo HP Data Entry and Forms Management System (VPLUS) Reference Manual: HP 3000 MPE/iX Computer Systems > Chapter 7 USING FORMSPEC IN BATCH MODE

SAMPLES OF FORMSPEC IN BATCH MODE

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Index

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

Example

Feedback to webmaster