REXX Tips.

A Mainframe-Tip a Day keeps the bugs away!
Forum rules
All of these Tips/Tuning-suggestions should be tested your own, at your shop, prior to use in Prod.
Previous topicNext topic
User avatar

Topic Author
Anuj Dhawan
Posts: 2624
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Zodiac: Sagittarius

REXX Tips.

Post by Anuj Dhawan » Wed Feb 10, 2016 2:22 pm

1. Splitting a function over multiple lines

Consider the following examples:
  1. Continuing a string across two lines

    Code: Select all

    l_string1 = "This is an example of a bigger-line split between",
                "two lines.";
  2. Continuing a string when the continuation occurs on a parameter boundary

    Code: Select all

    src = socket("GETADDRINFO","CHILE",,
    In this example, the first comma after the parameter "CHILE" indicates the end of the parameter. The second comma indicates that the REXX statement continues on the next line.
Courtesy: IBM


Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.

Previous topicNext topic

Return to “Tip Of the Day.”