RPSETUP  Appendix B: MODELRSP DB2 Output Pipe Sample RSP

Appendix A: RSP Commands

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:





Copyright © 2005. Sybase Inc. All rights reserved. Appendix B: MODELRSP DB2 Output Pipe Sample RSP

View this book as PDF