HP 3000 Manuals

Challenge Test [ Using the 900 Series HP 3000: Advanced Skills Module 5: User Commands ] MPE/iX 5.0 Documentation


Using the 900 Series HP 3000: Advanced Skills Module 5: User Commands

Challenge Test 

   1.  TRUE OR FALSE:

       To execute a command file, you must enter its file name.

   2.  TRUE OR FALSE:

       To execute a UDC, you must enter its file name.

   3.  What does the abbreviation "UDC" mean?

   4.  Which executes in the following situations:  the UDC, the command
       file, or the system command?

          a.  a UDC and command file both having the same name

          b.  a command file and system command both having the same name

   5.  What command would you use to display a particular UDC in a given
       UDC file?

   6.  What catalog command must you enter before you attempt to edit a
       UDC file?

   7.  What catalog command can you enter to add a UDC file to the UDC
       directory?

   8.  What UDC option prevents a UDC from being executed within a
       program?

   9.  What UDC option lets you reference one UDC within another, even
       though the referenced UDC is cataloged before the other UDC?

  10.  Examine the following UDC and then answer the questions.

            ***
            PR
            PARM FILE1=MONEY,FILE2="$NULL",FILE3="$NULL"
            PRINT !FILE1
            PRINT !FILE2
            PRINT !FILE3
            ***

          a.  What happens when you enter this command:

                   PR

          b.  What happens when you enter this command:

                   PR DOLLARS,CENTS

  11.  What does the following UDC do when you enter this?  LSF FILEX,2

            UDC:

            LSF MYFILE1,OPTION
            LISTFILE !MYFILE1,!OPTION

  12.  What benefit does the CI provide you when developing programs and
       command files?



MPE/iX 5.0 Documentation