|
>Hi, > > Last night I was called by the application staff about one of their >programs looping in batch. They needed help getting stuff in order. >They asked me to cancel the batch job with a DUMP. It was at this point, I >realized that the only time I've created a dump was when a program ABENDed >and there was a message wait. The batch job is a CL program that calls a >series of COBOL and COBOL/LE programs. The program that it was looping in >is OPM COBOL. > So my question, is there a way to cancel a job and produce the formatted >dump the programmers are accustomed to when I answer 'D' >or 'F' to a message wait. > >Thanks, >m. Your application staff did not think about this for very long as without changing the program, this is quite difficult to achieve. The only way I could think of doing this would be to somehow force the program to crash thereby giving you the dump option. One possible way would be to start a service job, debug the program and then say, just before a divide operation (if there are any!), set the divisor to zero... In reality, they should perhaps deal with the problem themselves.... Mike
This mailing list archive is Copyright 1997-2026 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.