HPlogo Using HP 3000 MPE/iX: Fundamental Skills Tutorial: HP 3000 MPE/iX Computer Systems > Chapter 8 Solutions

Solutions to Module 6 Command Files

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Glossary

 » Index

Challenge Answers

 Is Your Answer...?If Not, Start With...
1.A text file that can contain MPE/iX commands, program file names, or names of other command files, that can be executed. Lesson 1
2.XEQLesson 2

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

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

      SHOWME

    2. 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
    

Lesson 2: Naming Conflicts

  1. RUNIT

  2. Use the MPE/iX command, XEQ plus the command file name.

    XEQ runit

Feedback to webmaster