HP 3000 Manuals

Lesson 5 Using Parameters [ Using the 900 Series HP 3000: Advanced Skills Module 7: Solutions Guide ] MPE/iX 5.0 Documentation


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

Lesson 5 Using Parameters 

Exercise 5-5:  Using Parameters 

1.                    The LS command file should look like this:

                           PARM FILE NAME,OPTION="1"
                           LISTFILE !FILE NAME,!OPTION

2a.                   When you enter LS without any options, the
                      following happens:

                      LISTFILE,1 executes by default.

2b.                   When you enter LS with option 1, the following
                      happens:

                      LISTFILE,1 executes.

                      When you enter LS with option 2, the following
                      happens:

                      LISTFILE,2 executes.

                      When you enter LS with option 3, the following
                      happens:

                      LISTFILE,3 executes.

3.                    The LS UDC should look like this:

                           LS FILE NAME,OPTION="1"
                           LISTFILE !FILE NAME,!OPTION
                           ***

4.                    To uncatalog MYUDC3 and edit it, do the following:

                      Uncatalog MYUDC3:

                      SETCATALOG

                      Edit MYUDC3:

                           LS FILE NAME,OPTION="1"
                           LISTFILE !FILE NAME,!OPTION
                           ***

                      Recatalog MYUDC3:

                      SETCATALOG MYUDC3

                      To execute LS, do the following:

                           LS JOB1
                           LS JOB1,2
                           LS JOB1,3

************ End of Exercise 5-5 **************** 



MPE/iX 5.0 Documentation