&NRSTR will not necessarily work. If so, use SYSSCAN (its default value
is 16).
E.g.
SET SYSSCAN = 2 /* note: 0 will interpret all &'s as data including
&NRSTR; set it to 1, 2 or 3 etc. as appropriate */
<your &NRSTR code>
SET SYSSCAN = 16
CP
Lizette Koehler wrote:
And if that does not work, then show the code you are using.
Include how you set the variable,
What the variable contains,
And what you are using for &STR( )
CONLIST, SYMLIST, LIST is helpful.
Lizette
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Lizette Koehler
Sent: Wednesday, July 06, 2016 2:31 PM
To: [email protected]
Subject: Re: Character data returned from &STR
So you may also want to join, if you have not done so, the TSO REXX list. We
speak CLIST There.
TSO REXX http://www2.marist.edu/htbin/wlvindex?TSO-REXX
Go to bottom of webpage to join
Try using &NSTR
Lizette
-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]]
On Behalf Of Joseph Reichman
Sent: Wednesday, July 06, 2016 12:49 PM
To: [email protected]
Subject: Character data returned from &STR
Hi
Is there anyway to check that &STR converted the variable in question
to valid characters
After the &STR if do a compare in which case the variable had an '*'
and I am getting "expression with operators out of sequence
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN