STATUS

Description

Communicates to MainframeConnect the success or failure of the processing it performed.

Syntax

Syntax varies with the programming language.

Examples

COBOL II

This example sets the status to indicate an error condition:

MOVE 'E' TO SPSTATUS.
 CALL 'STATUS' USING SPAREA.

Usage

The STATUS command uses the SPSTATUS field (see “SPSTATUS”) to specify processing status. Use one of these codes: