Previous Topic: PARMLIB Member STARTCMDNext Topic: Main Services Address Space Termination


Communicate with the Started Task

Once the main services task has started, additional requests can be communicated to the task using the z/OS MODIFY (F) command.

The following commands and functions are available.

STATUS

Displays the status of all subtasks or a particular subtask in the Main Services Address Space. The format of the STATUS command is:

MODIFY SYSVSERV,STATUS [subtask]
subtask

Specifies the name of the subtask for the requested status display.

START

Starts a subtask in the Main Services Address Space. The format of the START command is:

MODIFY SYSVSERV,START subtask[.taskident,parameters]
subtask

Specifies the name of the subtask to start.

taskident

Identifies a task, if you are starting multiple tasks in the same subtask.

parameters

Represents the parameters to pass to the subtask.

STOP

Stops a subtask in the Main Services Address Space. The format of the STOP command is:

MODIFY SYSVSERV,STOP subtask|taskid
subtask

Specifies the name of the subtask you want to terminate.

taskid

Identifies a task, if you are starting multiple tasks in the same subtask.

MODIFY

Modifies current parameter settings for a subtask in the Main Services Address Space. The format of the MODIFY command is:

MODIFY SYSVSERV,MODIFY subtask|taskid [, parameters]
subtask

Specifies the name of the subtasks to modify.

taskid

Identifies a task, if you are starting multiple tasks in the same subtask.

parameters

Represents the parameters to pass to the subtask. If the parameters contain a comma or a space, it must be enclosed in single quotes.

FORCE

Forces the subtask in the Main Services Address Space to terminate abnormally. The format of the FORCE command is:

MODIFY SYSVSERV,FORCE subtask|taskid
subtask

Specifies the name of the subtask you want to terminate abnormally. The task is canceled with a dump.

taskid

Identifies a task, if you are starting multiple tasks in the same subtask.