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.

SEGOP. [CALLI 230]<br />

Table 22-16:<br />

SEGOP. 000 Flags<br />

Functions<br />

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

Flag Word<br />

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

Flags: I SG. STP SG.USN SG.FFS SG.NSR SG. SEC SG.CTX SG.JOB SG.UWP<br />

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

Bits: 0 1 2 6--17 12-17 18-26 27-35 35<br />

=========== ======= ======= ======= ======= ======= ======= ======= =======<br />

.SGINF (0) set set/ret set/ret<br />

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

.SGGET (1) set/ret set set/ret ret' d ret' d<br />

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

.SGREL (2) set set<br />

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

. SGRMP (3)<br />

.SGSWP (4)<br />

set/ret<br />

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

. SGCOR (5) 1<br />

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

.SGDMP (6) set ret'd set set 1<br />

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

22.148.1 FUNCTION 0 (.SGINF)<br />

Returns information about a specified high segment.<br />

for this function is:<br />

The argument list<br />

addr:<br />

length, , . SGINF<br />

flag-word<br />

BLOCK 4<br />

filespec-pointer<br />

The flags that can be set in the the flag-word for this function are:<br />

Bits<br />

0<br />

1<br />

12-17<br />

18-26<br />

27-35<br />

Symbol<br />

SG.STP<br />

SG.USN<br />

SG.SEC<br />

SG.CTX<br />

SG.JOB<br />

Meaning<br />

If set, the function will step through the list of<br />

high segments.<br />

If set, the SG.SEC field contains an offset to the<br />

program section of the specified high segment.<br />

Contains the offset to the section number of the<br />

high segment.<br />

Contains the context number of the job context<br />

that owns the high segment.<br />

Contains the job number of the job that owns the<br />

high segment.<br />

Use these flags and fields to perform the following operations:<br />

o To step through a list of all segments, starting with the<br />

first, set SG.STP and put a zero in addr+2 (.SGSGN).<br />

o To step through the list beginning at a specified point, set<br />

SG.STP and include the segment number in .SGSGN that is<br />

previous to the first segment that you want to return<br />

information on. ST.STP always returns the next segment in<br />

the list.<br />

22-375

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

Saved successfully!

Ooh no, something went wrong!