WHERE-IS-FILE: Difference between revisions

From NDWiki
Jump to navigation Jump to search
(created page for the WHERE-IS-FILE command)
 
(→‎See also: LIST-RTOPEN -> LIST-RTOPENED-FILES)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
  @WHERE-IS-FILE <file name>
  @WHERE-IS-FILE <file name>
Check whether a file is opened and / or reserved. Also list the user or [[RT program]] who has opened or reserved the file.
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.
; <file name> : file name. <object name> and <type> must be unique.
Rules:
Rules:
Line 22: Line 22:
@[[LIST-OPENED-FILES]]
@[[LIST-OPENED-FILES]]


[[WHDEV (MON 140)]]
@[[LIST-RTOPENED-FILES]]
 
[[WHDEV (monitor call)]]
 
== References ==
== References ==
{{ND-doc|60.128.01}} (printed June 1980), pages 1-14, 1-198
{{ND-doc|60.128.01}} (printed June 1980), pages 1-14, 1-198
{{ND-doc|60.128.03}} (printed February 1983), page 1-222


{{ND-doc|60.174.Q01}}
{{ND-doc|60.174.Q01}}
[[Category:Background Commands]]
[[Category:Background Commands]]

Latest revision as of 14:33, 2 October 2017

@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