INQUIRE TASK LIST
| COBOL |
Java |
| EXEC CICS INQUIRE TASK LIST |
ibmCics.inquireTaskList |
Syntax
ibmCics.inquireTaskList(new InquireTaskListOptions()
.setPointer(<SetPointer>)
[.listSize(<ListSize>)]
[.setTransIdPointer(<SetTransIdPointer>)]
[.dispatchable(true)]
[.running(true)]
[.suspended(true)]
);
Parameters
- <SetPointer>
- Returns the address of a list of tasks from the 'dispatchable', 'running' or 'suspended' categories.
- <ListSize>
- Optional variable. Returns the number of tasks in the list at the SetPointer address.
- <SetTransIdPointer>
- Optional pointer variable. Returns the address of a list of transaction IDs associated with the tasks in the list at the SetPointer address.
- dispatchable
- Optional Boolean. If set to true, tasks from the 'dispatchable' category are included in the list at the SetPointer address.
- running
- Optional Boolean. If set to true, tasks from the 'running' category are included in the list at the SetPointer address.
- suspended
- Optional Boolean. If set to true, tasks from the 'suspended' category are included in the list at the SetPointer address.
Examples
| COBOL |
Java |
EXEC CICS
INQUIRE TASK LIST
LISTSIZE (WS-LISTSIZE)
RUNNING
SET (WS-POINTER)
END-EXEC.
|
ibmCics.inquireTaskList(new InquireTaskListOptions()
.setPointer(locDef.ws_Pointer)
.listSize(locDef.ws_Listsize)
.running(true)
);
|