OpenTP1 Version 7 Operation

[Contents][Index][Back][Next]

5.6 Service operations

This section explains operations related to services.

Organization of this section
(1) Display of service status
(2) Service shutdown and release of shutdown status

(1) Display of service status

The status of services can be displayed with the mcftlssv command.

The displayed information includes the service names, statuses of the service, etc.

(2) Service shutdown and release of shutdown status

Services can be shut down with the mcftdctsv command. When the mcftdctsv command executes, input to input queue and input queue scheduling are shut down on the basis of specified options. If the application attributes definition is specified in such a manner that service input and its scheduling are to be shut down (servhold=a) in the event of abnormal termination of an application, the service is shut down when an application terminates abnormally and the specified application abnormal terminations count has been reached.

When input to an input queue is shut down, all messages already in the input queue are processed normally. If a message is received during shutdown processing, the MCF event that reports the discarding of a message (ERREVT2) is activated.

If a message is received while input to an input queue and input queue scheduling are involved in shutdown processing, the MCF event that reports the discarding of a message (ERREVT2) is activated.

If the UAP terminates abnormally with a timeout because any value specified in the operands is exceeded, the service and service group are also shut down.

Services can be released from shutdown status by the mcftactsv command.

The status changed by the mcftdctsv or mcftactsv command (input to input queue and input queue scheduling status) is inherited during full recovery. If a maximum number of services has been specified in the status inheritance definition of the MCF manager definition, the status of resources is inherited up to the specified value.