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

Solutions to Module 3 Creating Text Files

» 

Technical documentation

Complete book in PDF
» Feedback

 » Table of Contents

 » Glossary

 » Index

Challenge Answers

 Did You Answer...?If Not, Start With...
1.EDITOR.Lesson 1.
2.Starts with an alpha character; limited to 8 alphanumeric characters; no special characters.Lesson 2.
3.ADD, TEXT, LIST, MODIFY, DELETE, GATHER.Lesson 3.
4.Break.Lesson 4.
5.RESUMELesson 4.
6.ABORTLesson 4.
7.Created while working on a text file, "K" files are safety files.Lesson 4.

Lesson 1: Using EDIT/3000

  1. EDIT/3000

  2. EDITOR

  3. END, or E

  4. a. /

  5. ADD or A

  6. //

    1. Answer YES to the PURGE OLD? question.

    2. Answer NO to the PURGE OLD? question.

  7. LISTFILE

Lesson 2: File Names

    1. Acceptable

    2. Unacceptable, too many characters used — only eight are allowed.

    3. Unacceptable, first character must be a letter.

    4. Acceptable

    5. Unacceptable, no special symbols or characters are allowed.

    6. Unacceptable, too many characters. Also, underbar character is not allowed.

    7. Acceptable

Lesson 3: Editing a Text File

  1. Get into the editor. Add 20 lines of text. Exit ADD with //. Keep FILEA.

  2. LIST ALL

  3. LIST 5/15

  4. LIST ALL, OFFLINE

  5. LIST 15/20, OFFLINE

  6. DELETE 1/3 or D 1/3

  7. You can perform a DELETE ALL to delete your current file, which contains your most recent revisions. You will lose all of your changes. You can then retrieve the original FILEA using T FILEA, which allows you to start editing the FILEA again.

  8. GATHER 3 to 6.1

  9. GATHER 16/20 to .1

  10. GATHER ALL

    1.    Mary will be coming ovr for dinner.
      
         rGeno
      
    2.    Geno will be coming ovr for dinner.
      
                               ie
      
    3.    Geno will be coming over for dinner.
      
                      DDDDDDD
      
    NOTE: Notice that when you deleted the wording "coming," you also had to delete the space after it.
  11. The "old" version of MYFILE is retrieved from disk. You will lose all work done on this file during this work session.

Lesson 4: More About the Editor

  1. Assume that FILE1 has been put into the editor workspace.

    1. JOIN FILE2

    2. JOIN FILE2 to 1.2

  2. :LISTFILE

  3. Break key

  4. RESUME

  5. ABORT

    1. December 31, 12:30 P.M. (unless it is a leap year, in which case it would be December 30, 12:30 P.M.)

    2. January 2, 8:15 A.M.

    3. February 1 11:52 A.M.

    4. January 15, 11:00 P.M.

Feedback to webmaster