GEINFO - obtain system information.

Usage:

mme     geinfo
zero    BUFEND,FLAGS
zero    REQLIST,LISTSIZE

Where:

BUFEND
points to the location AFTER a two-word buffer where information may be stored.
FLAGS
indicates what type of information is required. If FLAGS is -1, register P0 will be assigned a pointer to the PAT segment and register P1 will be assigned a pointer to the SSA segment. If FLAGS is 2, the BCD userid under which the program is running will be written beginning at BUFEND-2. If FLAGS is 0, MME GEINFO will only supply the information requested in the request list (see below).
REQLIST
points to a list of information requests. Each of these requests has the form
zero   ADDRESS,OPTION
where ADDRESS is an address in the user program where information should be written and OPTION indicates the type of information desired. Possible options are listed below.
LISTSIZE
is the number of information requests in the request list. If this number is zero, MME GEINFO will only supply the information requested by FLAGS (see above).

Description:

MME GEINFO obtains information about the user program or other processes. It can accept a list of information requests, and may provide additional information based on the FLAGS argument.

The possible OPTIONs that may appear in an information request list are:

1
processor time remaining (from .SALT)
2
SYSOUT lines remaining
3
channel time remaining (from .SACHT)
4
processor time used (.SPRT)
5
SYSOUT lines used
6
channel time used (.STCHT)
7
time-of-day at activity start (.START)
8
process attribute word (.SATTR: see below)
9
job urgency (in low 6 bits)
10
configuration data (.CRFIG)
11
BCD time (as `hhmmss`)
12
map SNUMB to KPX
13
software release number (.CRSR)
14
system default number of lines per printer page (.CRPSZ)
15
Julian date (.CRJCD)
16
shared system number (.CRSSN)
17
start-up option word (.CROPT)
18
system ID word (.CRSID)
19
program state word (.STATE)
20
owner ID for FIPS-79 tape (.CROID) 4 words
21
moves FIPS-79 PAT info to user block
22
moves user block to FIPS-79 PAT
23-24
protected file environment status.
25
memory * time product (.SAVG)
The meaning of bits in .SATTR are given below.
 0  -- single-segment process
 1  -- process in debug
 2  -- TP in execution
 3  -- TDS process
 4  -- TSS in execution
 5  -- reserved for GCOS
 6  -- extended memory
 7  -- JROL in effect
 8  -- restart options have changed
 9  -- system priority granted
10  -- TS8 process
11  -- TS8 subsystem executing
12  -- service task executing
13-16  -- reserved for GCOS
17  -- protected file manual recovery process
18  -- .EMM/.EMMS executable
19  -- .EMMS executed
20  -- abnormal termination at main level
21  -- unable to terminate by execution processing
22  -- user's termination process executed
23  -- first GECALL processed
24  -- abort subactivity paid
25  -- master mode courtesy call
26  -- IDS execution requested
27  -- no wake break for I/O termination
28  -- unable to execute by processor 7
29  -- unable to execute by processor 6
30  -- unable to execute by processor 5
31  -- unable to execute by processor 4
32  -- unable to execute by processor 3
33  -- unable to execute by processor 2
34  -- unable to execute by processor 1
35  -- unable to execute by processor 0

Copyright © 2000, Thinkage Ltd.