You're missing the ampersand before JOBCARD -> &JOBCARD. On Thu, Mar 27, 2014 at 9:19 PM, Micheal Butz <michealb...@optonline.net>wrote:
> 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 > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN