|
(Boy, must be a busy day. I've had a couple of bounces from the list cuz it was too busy - so it says. David, do you get these stats on your end?) --- rick.baird@xxxxxxxxxxxxxxx wrote: > how do you change a job, that's running in batch to print a > joblog when it ends. I can't cancel the job, > it will run to completion, but the last 2 times it ran it didn't work > right and i need to see the joblog when completed. > >thanks! >Rick Baird Well, I see you already got one response, and it was too late for you this time, so... Why not just always run this job with the logging at full blast? I.e., CHGJOB LOG(4 00 *SECLVL) LOGCLPGM(*YES). At least until you've figured out what the problem is. If I'm in an environment where normally nothing is logged, sometimes I'll code that CHGJOB into the CL at the beginning. If not allowed to change the source, but I can recompile the source, I'll use CRTCLPGM LOG(*YES). If I don't have access to the source and can't change how the job is submitted to batch, I'll put a hold on the job queue, run the process that submits the job, run the CHGJOB on the job while it's still on the queue, and release the job queue. HTH, GA __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.