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.

JOBSTR [CALLI 47]<br />

22.77 JOBSTR [CALLI 47]<br />

FUNCTION<br />

Returns names of file structures in your job's<br />

discussion of file structures in a search list,<br />

search list.<br />

see Chapter 11.<br />

For<br />

a<br />

CALLING SEQUENCE<br />

addr:<br />

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

JOBSTR ac,<br />

error return<br />

skip return<br />

..<br />

SIXBIT/str/<br />

EXP 0<br />

EXP 0<br />

; .DFJNM<br />

; reserved<br />

; . DFJST<br />

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

o<br />

o<br />

o<br />

len is the length of the argument list (.DFJBL).<br />

addr is the address of the argument list. You can include a<br />

structure name (str) at addr to obtain the name of the next<br />

structure in your job search list, or -1 to obtain the first<br />

structure in your active search list, or 0 to obtain the<br />

first structure in your job's passive search list (after<br />

FENCE in search list returned by SETSRC program) .<br />

addr+l (.DFJDR) is reserved.<br />

At addr+2 (.DFJST), the<br />

flag for the structure.<br />

monitor returns<br />

The flags are:<br />

the write-protect<br />

Bits<br />

o<br />

1<br />

SKIP RETURN<br />

Symbol<br />

DF.SWL<br />

DF.SNC<br />

Meaning<br />

Software write-protect.<br />

Do not create files on this structure; create<br />

only if specified as file structure or a<br />

physical device name.<br />

If you give 0 at addr, the monitor returns the first structure in the<br />

search list after the FENCE.<br />

If you give -1, the monitor returns the first structure in the list.<br />

If you give a SIXBIT structure name (or leave the one the monitor last<br />

entered), the monitor returns the next structure name in the search<br />

list. When there are no more structures in the list, the monitor<br />

returns -1 at addr. If the next item in the list is FENCE, the<br />

monitor returns 0-.---<br />

Therefore you can begin with the first name in the list by using -1 at<br />

addr. When the monitor returns the first name in the list, you can<br />

leave the name in addr to call for the second name, and so forth.<br />

22-198

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

Saved successfully!

Ooh no, something went wrong!