-----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


Joe,

This is one of the beauties of CLIST, you have to &STR everything. So if you're trying &A = &STR(&INPUT), then &B = &A, that doesn't work. &STR is not persistent. So you need &B = &STR(&A) as well. Welcome to CLIST.

Regards,
Tom Conley

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to