Class ThreadManager
java.lang.Object
com.softwaremining.vendors.cics.util.ThreadManager
Used in translation of CICS START/RETRIEVE commands.
Allows scheduling a Task (program) to be scheduled to start in the future, and run in parallel.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
retrieve
(CicsBaseService baseService, RetrieveDO retrieveDo) RETRIEVE data stored by expired START commands.static int
start
(ICicsBaseService owner, StartDO startDO) START starts a task, on a local or remote system, at a specified time.
-
Constructor Details
-
ThreadManager
public ThreadManager()
-
-
Method Details
-
retrieve
RETRIEVE data stored by expired START commands. It is the only method available for accessing such data.- Parameters:
baseService
-retrieveDo
-- Returns:
-
start
START starts a task, on a local or remote system, at a specified time. The time is specified by INTERVAL, AFTER, AT, or TIME. The starting task can pass data to the started task. The starting task can also specify a terminal to be used by the started task as its principal facility. The default is INTERVAL(0), but for C the default is AFTER HOURS(0) MINUTES(0) SECONDS(0).- Parameters:
owner
-startDO
-
-