WHERE-IS-FILE: Difference between revisions
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. | 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 ( | @[[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:
- Permitted for all users.
- The possible messages are:
- <file name>: OPEN BY USER <user name> ON TERMINAL <n>
- <file name>: RESERVED BY RT-PROGRAM <program name>
- (a peripheral file is reserved but not opened).
- <file name>: FREE TO USE
- <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
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