24.12.2013 Views

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

TOPS-10 Monitor Calls Manual Volume 2 AA-K039D ... - Trailing-Edge

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

OPEN [OPCODE 050]<br />

22.111 OPEN [OPCODE 050]<br />

FUNCTION<br />

Initializes a channel for I/O<br />

extended I/O channel.<br />

operation.<br />

Use<br />

FILOP. to assign an<br />

CALLING SEQUENCE<br />

OPEN channo,addr<br />

error return<br />

skip return<br />

addr:<br />

argument list<br />

In the calling sequence, the program supplies the following variables:<br />

o<br />

o<br />

channo is the number of a channel.<br />

addr is the address of the argument list.<br />

The argument list is described in the following subsections.<br />

22.111.1 ARGUMENT WORD 0 (.OPMOD)<br />

Contains flags and status bits. The I/O status bits are a set of 18<br />

bits (right halfword) that reflect the current state of a file<br />

transmission. They are initially set by your program with the OPEN<br />

monitor call. Thereafter, the monitor sets the bits, but your program<br />

can test and reset them using any of several monitor calls.<br />

Bits<br />

o<br />

Symbol<br />

UU.PHS<br />

Meaning<br />

Only physical device names will be used in the<br />

search. All logical names defined by the job will<br />

be ignored.<br />

1<br />

UU.DEL<br />

Disables error logging; only user-mode<br />

programs may set this bit.<br />

diagnostic<br />

1<br />

2<br />

2<br />

2<br />

UU.FSP<br />

UU.DER<br />

UU.BJP<br />

UU.DMR<br />

Specifies a full SCNSER PTY (pseudo-terminal).<br />

That is, all terminal characteristics that are<br />

normally ignored for PTYs will be set and<br />

enforced. Refer to Chapter 15.<br />

Disables error retry; only user-mode diagnostic<br />

programs may set this bit.<br />

If the given device is a PTY, and if the calling<br />

program is privileged, this bit specifies that<br />

jobs logging on this PTY are to be treated as<br />

batch jobs.<br />

Disables message re-assembly. This bit is used in<br />

ANF-I0 intertask communication to allow the<br />

receipt of messages that do not have the EOM bit<br />

set. This flag should be set if UU.AIO is set for<br />

TSK devices. (Refer to Chapter 5.)<br />

22-272

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!