I know you can have relevant data written to output datasets. Have separate code in programs that only write to the warning datasets if there is an issue that warrants our attention, so if there aren't any problems (and the warning files are empty) no e-mail is sent out. But if there are problems an email is sent out to a list.
But i was wondering if there was a way to set up something that would email you the SYSOURs or what you needed in the SYSOURs without touching the code in the program
Or if there are anyother ways to do this please help me out.
Joined: 01 Sep 2006 Posts: 2104 Location: Silicon Valley
Michael, perhaps you need to provide more details.
My previous answer assumed that it was 1) a batch job and that it would set 2) a return code to indicate there was something needing more attention. I also assumed that 3) SYSOURs are an output file created by the program.