That sounds good Thanks
> On Jul 6, 2016, at 9:27 PM, Anthony Thompson <[email protected]> > wrote: > > Use the &SYSINDEX function. > > SET ASTER=&STR(*) > > GETFILE INPUT > SET PLACE = &SYSINDEX(&ASTER,&INPUT) > IF &PLACE=0 THEN - > GOTO PROCESS > ELSE - > GOTO REJECT > > Ant. > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of Joe Reichman > Sent: Thursday, 7 July 2016 7:40 AM > To: [email protected] > Subject: Re: Character data returned from &STR > > I am scanning input cards which all have characters A - Z there is one card > with a * that causes the problem > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of Lizette Koehler > Sent: Wednesday, July 6, 2016 5: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 > > ---------------------------------------------------------------------- > 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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
