HP 3000 Manuals

Ch 6. Solutions to Module 6Command Files [ Using the 900 Series HP 3000: Fundamental Skills Module 7: Solutions Guide ] MPE/iX 5.0 Documentation


Using the 900 Series HP 3000: Fundamental Skills Module 7: Solutions Guide

Chapter 6   
           Solutions to Module 6Command Files 

Lesson 1:  Using Command Files 

   1.  The command file P5:

       LISTREDO -5

       P5

   2.  The file called PRF should consist of one line.

       PRINT FOREST;start=1;end=4

       or

       PRINT FOREST;END=4

       Type the following to execute it:

       PRF

   3.  The command file called CG should consist of this line.

       CHGROUP OTHERGRP

       Type the following to execute:

       CG

          a.  To check to see if the change group took place, enter:

              SHOWME

          b.  To get back into your home group, enter:

              CHGROUP

       _________________________________________________________________ 

       NOTE  The answers to exercises 4-6 may vary.

       _________________________________________________________________ 

   4.  Example:

       A command file called SH:

       SHOWTIME

       Type the following to execute it:

       SH

   5.  Example:

       A command file called SM:

       SHOWME

       Type the following to execute it:

       SM

   6.  Example:

       A file called SHOW:

            SH
            SM

       To execute it enter:

            SHOW



MPE/iX 5.0 Documentation