How to create a multi-line WTO with OPS/REXX?

Document ID : KB000074460
Last Modified Date : 21/03/2018
Show Technical Document Details
Introduction:
How to create a multi-line WTO with OPS/REXX?
Instructions:
Here is a sample REXX program that creates a multi-line WTO: 

LINE.1="***FIRST LINE OF THE MLWTO***" 
LINE.2="***SECOND LINE OF THE MLWTO***" 
LINE.3="***THIRD LINE OF THE MLWTO***" 
ADDRESS WTO "TEXTVAR('"LINE."') MSGID(TESTWTO) ROUTE(2)" 
Additional Information:
See the complete reference for the ADDRESS WTO host environment in the link below:

https://docops.ca.com/ca-opsmvs-13-0/en/reference-information/command-and-function-reference/host-environment-commands/address-wto-issue-wto-messages