Previous Topic
Table Of Contents
Parent Topic
Next Topic

SWSWTO Function

Related Topics

Web Server API Function Index


gfchkmrk.gif (134 bytes) May be used in Shadow/REXX
gfchkmrk.gif (134 bytes) May be used from Other REXX Interpreters
gfchkmrk.gif (134 bytes) High-level language interface available

The SWSWTO built-in function provides a means to issue a MVS write to operator.

The SWSWTO function allows a message to be written to the MVS operator console. Optionally, a route code may be supplied. If a zero route code is supplied, the default will be used. The route code is one of four string constants, which is described below. Each constant determines a set of route and descriptor codes, which is described in the IBM publication - - Assembler Services Reference.

gfgraybr.gif (1830 bytes)

Coding SWSWTO

To code the SWSWTO function, use the following format:

RC = SWSWTO( textstring ,<route code>)

Valid Route Codes

Route Code Description
Informational desc codes 4,9 route code 1
Warning desc codes 4,9 route codes 1,11
Severe desc codes 2,11 route codes 2,11
Hardcopy None

gfgraybr.gif (1830 bytes)

Return Values

The function returns 0 (zero) if successful and non-zero if the WTO failed.