Steve,
The ^ character should really be a ¬ character; i.e. the character you would
see if you hold down the ALT key and type 170 on the numeric keypad.
Somehow, the character was translated incorrectly when you downloaded the
program. So what you see as:
if zedlmsg^="" then
Should really be:
if zedlmsg¬"" then
Where ¬= means 'not equal'. Simply removing the character is NOT advisable
as this changes the instruction from 'not equal' to 'equal', which is the
exact opposite of what you want!
There are several ways to represent 'not equal' in REXX; e.g. you can use \=
or <>.
Hope that helps,
Dave Salt
SimpList(tm) - The easiest, most powerful way to surf a mainframe!
http://www.mackinney.com/products/SIM/simplist.htm
From: "Stephen M. Wiegand" <[EMAIL PROTECTED]>
Reply-To: IBM Mainframe Discussion List <[email protected]>
To: [email protected]
Subject: REXX Question
Date: Sun, 11 Sep 2005 12:06:38 -0400
List,
I downloaded from
http://www.mainframeweek.com/journals/articles/0080/A+REXX+program+to+list+GDG+information
a handy little REXX program. In the program were the following lines:
if zedlmsg^="" then
if left(j2g_data,4)//4^=0 |,
if rc^=0 then
In all cases, when I issue a TSO GDG filename, TSO complained about these
statements. Since I didn't recognize what the ^ character was supposed to
do, I deleted it from all 3 statements and the program ran fine and
produced expected results.
But just in case, does anyone know what the ^ is supposed to represent? My
search in REXX documentation has been futile.
Thank.
Steve Wiegand
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html