I would turn on CLIST tracing functions CONTROL LIST SYMLIST CONLIST MSG NOFLUSH
It should show you your vars and the tests. Lizette > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Micheal Butz > Sent: Thursday, March 27, 2014 6:20 PM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Clist character string compare > > Hi > > I cann't seem to get equal looking for a character string in the input file > > I know that the job card is somewhere in the middle of the file > > So here is the code > > A1: GETFILE INPUT > SET JOBCARD = &STR(&SUBSTR(2:10) > If JOBCARD = &STR(//JOBCARD) > Then write got it > GOTO A1 > I do writes and see the character string however I never get an equal condition on > the if statement > > Sent from my iPhone ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN