Unless you use &NRSTR(), Clist will try to 'evaluate' a string variable 
numerically. It will erroneously interpret '*' as an arithmetic operator like 
'multiply'. &NRSTR() prevents any further attempt at evaluation of strings. 

.
.
.
J.O.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler 
SHARE MVS Program Co-Manager
323-715-0595 Mobile
626-302-7535 Office
[email protected]


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Joe Reichman
Sent: Wednesday, July 06, 2016 3:11 PM
To: [email protected]
Subject: (External):Re: Character data returned from &STR

Its all clist

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Steve Beaver
Sent: Wednesday, July 6, 2016 5:40 PM
To: [email protected]
Subject: Re: Character data returned from &STR

In REXX use TRACE I

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Lizette Koehler
Sent: Wednesday, July 6, 2016 4:38 PM
To: [email protected]
Subject: Re: Character data returned from &STR

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

Reply via email to