HP 3000 Manuals

LISTF Command (changed) [ Introduction to MPE XL for MPE V Programmers Migration Guide ] MPE/iX 5.0 Documentation


Introduction to MPE XL for MPE V Programmers Migration Guide

LISTF Command 
(changed) 

File information displayed by the LISTF command has been modified in MPE
XL. The output of LISTF, -1 and LISTF, 2 is modified.  Four new
listlevels provide file information comparable to MPE V/E LISTDIR5
utility displays.  (LISTDIR5 is not available on MPE XL.) Changes to this
command are the following:

 *  The -1 listlevel option, which showed an octal dump of the file
    label, now shows a hexadecimal dump.

 *  In MPE XL, if you enter the 2 listlevel option for a loaded program
    file, the file shows as busy (* next to file name).  This does not
    happen on MPE V. On MPE V/E, the load bit is set within the program
    file, and a LISTF display appears normal for this program file.  On
    MPE XL, the program file is actually opened through FOPEN and will
    appear as busy when a LISTF is performed while the program is
    loaded/ALLOCATED.

 *  The four new levels that have been added to the listlevel parameter
    are:

    3       Displays -1 listlevel output in ASCII format (similar to the
            output from the LISTF command in the MPE V/E LISTDIR5
            utility).  Access restrictions in effect for a file are not
            shown; use level 4 (described below) to see them.

    -3      Displays the same information as listlevel 3 and includes the
            file creator and lockword.  The lockword and creator are
            displayed if the user is the creator of the file, the account
            manager for the file's account (a user with AM capability),
            or the system manager (a user with SM capability).

    4       Displays the file access restrictions in effect for the
            specified file (similar to the LISTSEC command in the MPE V/E
            LISTDIR5 utility).  This includes account, group, and
            file-level security, and the logon security for the user.

    6       Displays the fully qualified file name.

Examples follow for sample outputs.
___________________________________________________________________
|                                                                 |
|                                                                 |
|      :LISTF JOB, 3                                              |
|                                                                 |
|      ********************                                       |
|      FILE: JOB.PUB.SYS                                          |
|                                                                 |
|      FILE CODE : 1030      FOPTIONS: BINARY,FIXED,NOCCTL,STD    |
|      BLK FACTOR: 1         CREATOR : **                         |
|      REC SIZE: 256(BYTES)  LOCKWORD: **                         |
|      BLK SIZE: 256(BYTES)  SECURITY--READ    : ANY              |
|      EXT SIZE: 0(SECT)               WRITE   : ANY              |
|      NUM REC: 7816                   APPEND  : ANY              |
|      NUM SEC: 0                      LOCK    : ANY              |
|      NUM EXT: 4                      EXECUTE : ANY              |
|      MAX REC: 31250                **SECURITY IS ON             |
|                            FLAGS   : n/a                        |
|      NUM LABELS: 0         CREATED : MON, JUN  9, 1986, 9:47 AM |
|      MAX LABELS: 0         MODIFIED: MON, JUN  9, 1986, 9:48 AM |
|      DISC DEV #: 0         ACCESSED: WED, JUN 11, 1986, 2:38 PM |
|      CLASS     : DISC      LABEL ADDR: **                       |
|      SEC OFFSET: 0                                              |
|                                                                 |
___________________________________________________________________

          Figure 6-2.  Example of Output from LISTF, 3 level 
___________________________________________________________________
|                                                                 |
|                                                                 |
|      :LISTF JOB, -3                                             |
|                                                                 |
|      ********************                                       |
|      FILE: JOB.PUB.SYS                                          |
|                                                                 |
|      FILE CODE : 1030      FOPTIONS: BINARY,FIXED,NOCCTL,STD    |
|      BLK FACTOR: 1         CREATOR : MANAGER                    |
|      REC SIZE: 256(BYTES)  LOCKWORD: PRIVATE                    |
|      BLK SIZE: 256(BYTES)  SECURITY--READ    : ANY              |
|      EXT SIZE: 0(SECT)               WRITE   : ANY              |
|      NUM REC: 7816                   APPEND  : ANY              |
|      NUM SEC: 0                      LOCK    : ANY              |
|      NUM EXT: 4                      EXECUTE : ANY              |
|      MAX REC: 31250                **SECURITY IS ON             |
|                            FLAGS   : n/a                        |
|      NUM LABELS: 0         CREATED : MON, JUN  9, 1986, 9:47 AM |
|      MAX LABELS: 0         MODIFIED: MON, JUN  9, 1986, 9:48 AM |
|      DISC DEV #: 0         ACCESSED: WED, JUN 11, 1986, 2:38 PM |
|      CLASS     : DISC      LABEL ADDR: $00000010 $00004414      |
|      SEC OFFSET: 0                                              |
|                                                                 |
___________________________________________________________________

          Figure 6-3.  Example of Output From LISTF, -3 level 
________________________________________________________________
|                                                              |
|                                                              |
|      :LISTF JOB, 4                                           |
|                                                              |
|      ****************************************                |
|      FILE: JOB.PUB.SYS                                       |
|                                                              |
|      ACCOUNT ------  READ : ANY                              |
|                     WRITE : AC                               |
|                    APPEND : AC                               |
|                      LOCK : ANY                              |
|                   EXECUTE : ANY                              |
|                                                              |
|      GROUP --------  READ : ANY                              |
|                     WRITE : GU                               |
|                    APPEND : GU                               |
|                      LOCK : ANY                              |
|                   EXECUTE : ANY                              |
|                      SAVE : GU                               |
|                                                              |
|      FILE ---------  READ : ANY               FCODE: 1030    |
|                     WRITE : ANY                              |
|                    APPEND : ANY                              |
|                      LOCK : ANY             **SECURITY IS ON |
|                   EXECUTE : ANY                              |
|                                                              |
|      FOR MANAGER.SYS: READ, WRITE, LOCK, APPEND, EXECUTE,    |
|                                                              |
________________________________________________________________

          Figure 6-4.  Example of Output from LISTF, 4 level 



MPE/iX 5.0 Documentation