WHERE-IS-FILE

From NDWiki
Jump to navigation Jump to search
@WHERE-IS-FILE <file name>

Check whether a file is opened and / or reserved. List the user or RT program opening or reserving the file.

<file name>
file name. <object name> and <type> must be unique.

Rules:

  1. Permitted for all users.
  2. The possible messages are:
    1. <file name>: OPEN BY USER <user name> ON TERMINAL <n>
    2. <file name>: RESERVED BY RT-PROGRAM <program name>
    (a peripheral file is reserved but not opened).
    1. <file name>: FREE TO USE
    2. <file name>: OPEN BY USER RT ON TERMINAL 1
    (if opened by an RT program).

Example:

@WHERE-IS-FILE (SCR)SCRATCH08:D
SCRATCH08:DATA: OPENED BY USER GUEST ON TERMINAL 39
@

See also

@LIST-FILES

@LIST-OPENED-FILES

@LIST-RTOPENED-FILES

WHDEV (monitor call)

References

Norsk Data Document ND–60.128.01 SINTRAN III REFERENCE MANUAL (printed June 1980), pages 1-14, 1-198

Norsk Data Document ND–60.128.03 SINTRAN III REFERENCE MANUAL (printed February 1983), page 1-222

Norsk Data Document ND–60.174.Q01 SINTRAN III QUICK REFERENCE CARD