The SHOWOPEN command generates information on open disk files including the owner of the file, the family, and family member information.
When you are trying to use the CLOSE (Close Pack) or RES (Reserve) commands on a disk, you can use the SHOWOPEN command to determine what tasks are using files on the family. When using the RES system command, you can use the <range> specification to determine what tasks are using files in the target area of a RES command. When you are trying to determine what tasks are using a particular file or set of files, you can use the SHOWOPEN file and directory variants to display that information.
Syntax
──SHOWOPEN─┬─ON─<family name>─┬───────────┬─┬─┬───────┬────┬───┤ │ └<disk info>┘ │ └<range>┘ │ ├─ON─<CD name>─<CD info>─────────┤ │ ├─PK─<unit number>───────────────┘ │ ├─<file name>──────┬───────┬──ON──<family name>─┘ ├─<long file name>─┘ │ ├─<directory>──────┬── = ──┘ └─<long directory>─┘
<CD info>
───┬──────────────────┬─(─┬─ CDROM ─┬─)─────┤ └─(<family index>)─┘ └─ CD ────┘
<disk info>

<range>

Explanation
The SHOWOPEN command generates information about open files. You can use this information, for example, when you are trying to close a pack with the CLOSE (Close Pack) command, but open files prevent the pack from being closed.
The maximum number of users displayed for a single file is approximately 200.
Examples
Example 1
The following example displays information about all open files on the specified family:
SHOWOPEN ON RFAM
*SYMBOL/PRINT/SUPPORT (NEWPSYMBOL) 66,528 Sectors 45856/7638 (GSTEIN) *OBJECT/ED *XREFFILES/SYSTEM/PRINT/SUPPORT/REFS (DATA) 9,226 Sectors 45856/7638 (GSTEIN) *OBJECT/ED (TQ)SYSTEM/TQ/SMFII/PROBE/LIBRARY (DCALGOLCODE) 1,998 Sectors 4957/4959 (TQ) (TQ)SYSTEM/TQ/SMFII/PROBE/LIBRARY/SCHEDULER ON DISKB 4957/4957 (TQ) (TQ)SYSTEM/TQ/SMFII/PROBE/LIBRARY ON DISKB (RADU)SYSTEM/TCPPRTSUPPORT (DCALGOLCODE) SLed 4,698 Sectors 5030/5030 (RADU)SYSTEM/TCPPRTSUPPORT ON FIRE (MP)LST/RECENT (DATA) 238 Sectors 7597/7597 (MP) (OPS)OBJECT/LST ON PACK (CLIN)MAIL/INBOXINX (DATA) 80 Sectors 7617/7617 (CLIN) (MAIL)SYSTEM/RUNMAIL ON PACK (RAID)OBJECT/SYMBOL/NED (DCALGOLCODE) 1,863 Sectors 8013/8013 (RAID) (RAID)OBJECT/SYMBOL/NED ON FIRE (RAID)Q_FILE (DATA) Temporary File 0 Sectors 8013/8013 (RAID) (RAID)OBJECT/SYMBOL/NED ON FIRE
Example 2
The following example displays information about the users of the SYSTEM/CARDLINE program on PACK:
SHOWOPEN SYSTEM/CARDLINE ON PACK
SYSTEM/CARDLINE (ALGOLCODE) 72 SECTORS 9269/4439 *SYSTEM/CARDLINE 0262/4435 *SYSTEM/CARDLINE
Example 3
The following example displays information about all open files with usercodes on the family DISK:
SHOWOPEN USERCODE/= ON DISK
(DONP)SYSTEM/TIME/SUPPORT (NEWPCODE) Sled 2,340 Sectors 4490/4490 (DONP)SYSTEM/TIME/SUPPORT