Try this. !IF (FINFO("JNBCHECK.JOB.SYS",19) > 0) THEN ! STREAM JNBCHECK.JOB.SYS !ENDIF ! "Carl McNamee" <[log in to unmask]> wrote in message news:F4B1826B1A21D211AEC5006008207AF404F88EE1@dogbert.csillc.com... > I am trying to figure out how to do error checking within a job stream to > see if a file exists before I attempt to stream it. I have the following in > a job stream: > > !COMMENT Stream jobs that should run every two hours. > ! > !STREAM JILOGCHK.JOB.SYS > !IF FINFO('JNBCHECK.JOB.SYS',0) > ! STREAM JNBCHECK.JOB.SYS > !ENDIF > ! > > What is happening to me is that Vesoft/Streamx is checking all the stream > statements in my jobstream and when it sees that JNBCHECK does not exist it > give an error that the file does not exist and never streams my job. If I > bypass the Streamx udc's the job stream works fine. > > What can I do to make this work??? > > Carl McNamee > Systems Administrator > Billing Concepts >