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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

DSKCHR [CALLI 45]<br />

22.35 DSKCHR [CALLI 45]<br />

FUNCTION<br />

Returns the characteristics of a disk device. These characteristics<br />

are needed to allocate storage efficiently on the disk.<br />

CALLING SEQUENCE<br />

MOVE ac, [XWD len,addr]<br />

DSKCHR ac,<br />

error return<br />

skip return<br />

addr:<br />

SIXBIT<br />

BLOCK<br />

/name/<br />

length-l<br />

In the calling sequence, you can provide the following information:<br />

o name is the SIXBIT name of a file structure, a controller<br />

type, a controller, a logical unit, a physical unit, a<br />

physical device, or a channel number.<br />

o<br />

length-l is the number of words in the argument list.<br />

If more than one unit was specified, the monitor returns values in the<br />

ac and the argument block, pertinent to the first unit specified. If<br />

more than one file structure was specified, the monitor returns values<br />

in the ac and argument block, pertinent to the first unit on the first<br />

file structure.<br />

SKIP RETURN<br />

On a successful return, the disk characteristics are returned in<br />

addr+l through addr+, and disk status flags are returned in<br />

the ac.<br />

The contents of the returned argument block are:<br />

Word<br />

o<br />

1<br />

Symbol<br />

. DCNAM<br />

. DCUFT<br />

Contents<br />

The argument supplied for the call. This is the<br />

only word in the argument block that the user<br />

program supplies. The .DCNAM argument may be a<br />

channel number.<br />

The number of blocks left in your job's quota<br />

before the UED is exhausted. If this value is<br />

negative (DC.NPA==lBO), the UFD has not been<br />

accessed since the job logged in, and the quota is<br />

not available. To obtain this information for<br />

jobs other than your own, use the .DUFRE function<br />

of the DISK. UUO.<br />

2<br />

. DCFCT<br />

The number ot first-come,<br />

available to all users.<br />

first-served blocks<br />

3<br />

. DCUNT<br />

The number of blocks available to all users on<br />

this file structure.<br />

4<br />

. DCSNM<br />

SIXBIT name of the structure to which<br />

belongs.<br />

this unit<br />

22-93

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

Saved successfully!

Ooh no, something went wrong!