Previous Topic
Table Of Contents
Parent Topic
Next Topic

SWSTRACE Function

Related Topics

Web Server API Function Index


May be used in Shadow/REXX
May be used from Other REXX Interpreters
High-level language interface available

The SWSTRACE built-in function provides a means of logging text information to the Shadow OS/390 Web Server Wrap-around trace.

The SWSTRACE function is primarily intended to allow logging of trace messages from other REXX interpreters. You may generate log messages from Shadow/REXX using this function, if you desire. However, REXX SAY statements issued from Shadow/REXX event procedures are automatically logged to the wrap-around trace without the overhead of invoking this function.

Coding SWSTRACE

To code the SWSTRACE function, use the following format:

RC = SWSTRACE( textstring )

Return Values

The function always returns 0 (zero) to the caller.


Top