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.

FILE DAEMON<br />

4 .FLDXT<br />

5 .FLDPG<br />

6 .FLDDA<br />

7 .FLDPS<br />

<strong>10</strong> .FLDPR<br />

This code is set as a result of a previous<br />

call to the File Daemon, which occurred<br />

because a job tried to issue a R, RUN, or GET<br />

command or a RUN monitor call and a protection<br />

error resulted. The File Daemon requested<br />

that the monitor call it when the accessing<br />

program terminates execution. The termination<br />

of a program's execution is defined by the<br />

terminal user or by the batch .CTL file,<br />

either of which may type something that<br />

logically supersedes the core image. The<br />

program may also terminate its own execution<br />

by performing a RUN monitor call. Refer to<br />

Table C-4, flag bit 2.<br />

This code is set because a job tried to<br />

execute a protected program by issuing a R,<br />

RUN, or GET command or a RUN monitor call.<br />

This code is set because a directory<br />

protection failure occurred.<br />

This code is set when a PUSH occurs from a<br />

program that has /EXIT specified.<br />

This code is set when a suspended program<br />

(with /EXIT) resumes with a POP.<br />

The File Daemon responds to the monitor by sending the monitor an IPCF<br />

packet. The packet's message is in the following format:<br />

+---------------------------------------------------------+<br />

1 reserved 1 reserved 1 job number 1<br />

1---------------------------------------------------------I<br />

1 flags 1 0 1 create 1 access 1<br />

+---------------------------------------------------------+<br />

Where:<br />

0-----3 4---8 9-------17 18-------27 28----------35<br />

job number is the number of the job attempting to access a file.<br />

flags are bits 0 through 3 which are described in Table C-4.<br />

create is the protection code at which the file will be<br />

if the specified job is creating a file.<br />

created<br />

access is the highest access this job is allowed to this file.<br />

Refer to Table C-3.<br />

The monitor grants or denies the job's access to the file based on the<br />

access value and the type of access specified by the accessing job.<br />

If the access value in the packet from the File Daemon to the monitor<br />

is greater than or equal to the type of access the accessing job<br />

desired, the monitor grants the job access to the file.<br />

B-12

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

Saved successfully!

Ooh no, something went wrong!