Prev Up Next
Go backward to 4.9 Internet
Go up to 4 Labs
Go forward to 4.11 VAX command procedure #2

4.10 VAX Command procedures #1

Command procedures are like DOS batch files. All systems have a way of automating the command line interface. Some work better than others. The VAX provides a flexible, powerful proprietary interface.
  1. Create a command procedure with the editor to compile, link and run the PASCAL program from your previous labs Lab 4.5: "Enter a PASCAL program" and Lab 4.6: "Pascal program compile and run". For DEC command scripts you must enter the dollar signs ($) at the beginning of the line for DCL commands. Use the file name: PAS.COM.
    $! PAS.COM - your name - today's date 
    $!
    $ PASCAL TRIP/NOLIST
    $ LINK TRIP/NOMAP
    $ RUN TRIP
    100 
    55 
    18 
    1.20 
    $! Delete the files no longer needed 
    $ DELETE TRIP.OBJ;*,TRIP.EXE;*
    
  2. Execute it interactively, at your terminal, in VERIFY mode. If you have any errors, correct and repeat.
    $ SET VERIFY 
    $ @PAS.COM
    
  3. Execute interactively without VERIFY mode.
    $ SET NOVERIFY 
    $ @PAS.COM
    
  4. Enter a request into the batch queue with the submit command from your terminal.
    $ SUBMIT PAS.COM
    
  5. Check the log file (PAS.LOG) to be sure it ran properly. It may take a while before this file is created. Print the log file. This may happen automatically (it is dependent on the system configuration). If you need to print it the file will be PAS.LOG.
Turn in the batch log file from section 4.10 marked with:
Your-Name
Lab 4.10: VAX Command Procedure #1 PAS.LOG
TABER CSC135

Instructor: ltaber@pima.edu** My new Home on phRed** The Pima College Site** The Mad Dr. G.'s home page on phred.

Prev Up Next