| File | 23 |
|---|---|
| Statement | FIND
|
| Task | Returns a list of all modules which have been loaded into the requested address space. |
This document covers the following topics:
| Dictionary Field Name | F/L | Mu | DE | Remarks |
|---|---|---|---|---|
ERROR-CODE
|
N3 | |||
ERROR-TEXT
|
A58 | |||
NODE
|
N5 | D | ||
NODE-NAME
|
A16 | D | ||
SYSTEM-MESSAGE-CODE
|
A10 | |||
TCB-ADDRESS
|
B4 | D | Required. | |
MODULE
|
A8 | D | ||
TYPE
|
A4 | D | ||
LOAD-ADDRESS
|
B4 | D | ||
LENGTH
|
B3 | D | ||
ENTRY-POINT
|
B4 | D | ||
USE-COUNT
|
N3 | D | ||
PSW
|
B4 | D | ||
STATE
|
A7 | D |
| Code | Text |
|---|---|
| 805 | Invalid TCB address. |
| Field Name | Type/Length |
|---|---|
ENTRY-POINT
|
(B4) |
Entry point of the module.
| Field Name | Type/Length |
|---|---|
JOB-NAME
|
(A8) |
Name of the job.
| Field Name | Type/Length |
|---|---|
LENGTH
|
(B3) |
Length of the module.
| Field Name | Type/Length |
|---|---|
LOAD-ADDRESS
|
(B4) |
Load address of the module.
| Field Name | Type/Length |
|---|---|
MODULE
|
(A8) |
Name of load module, interpreted by the fields TYPE,
LOAD-ADDRESS and LENGTH.
| Field Name | Type/Length |
|---|---|
PSW
|
(B4) |
Current Program Status Word for a program (does not apply, if
TYPE=LOAD).
| Field Name | Type/Length |
|---|---|
STATE
|
(A7) |
Run state of the program (does not apply, if
TYPE=LOAD). Possible values:
| Value | Explanation |
|---|---|
RUN
|
Program is running. |
SUSPEND
|
Program is suspended. |
WAIT
|
Program is in wait state. |
| Field Name | Type/Length |
|---|---|
TCB-ADDRESS
|
(B4) |
Address of Task Control Block.
| Field Name | Type/Length |
|---|---|
TYPE
|
(A4) |
Module type. Possible values:
| Value | Explanation |
|---|---|
IRB
|
Interrupt Request |
LOAD
|
Module was loaded. |
PRB |
Program Request. |
SIRB
|
System Interrupt Request. |
SVRB
|
SuperVisor Request for SVC routines. |
TIRB
|
Task Interrupt Request. |
| Field Name | Type/Length |
|---|---|
USE-COUNT
|
(N3) |
Use count of the module.