On Nov 20, 7:42am, Jon Temple wrote:
> I have a job stream which I want to close or abort "naturally" if a file is
> not found.
First read about the ESCAPE and RETURN commands (help escape, help return)
I would do this:
!job....
!if not finfo(file_you_want,"exists") then
! echo some message to $stdlist... -- or -- tellop ... etc.
! escape [error_number] --or--
! return
!endif
!# execute the rest of the job ...
regards,
Jeff Vance, CSY
--