|
Mystery solved! Objects in QTEMP are already deleted when the ended job's job log is created. I checked the job logs from yesterday interactive jobs where I tested it, and sure enough, it had the same "msgf doesn't exist" message as the batch jobs showed. Ken's solution of DSPJOBLOG OUTPUT(*PRINT) did the trick! Thanks guys! GA --- Ken Sims <mr3111@xxxxxxxxx> wrote: > Hi Vern, et.al. - > > >I took his code and created a CL, ran from command line, worked fine, > >submitted, failed as described. QTEMP was in library list for batch > >job. Tried *CALLER ActGrp, still failed. V5R1, BTW. > > > >Weird! > > > >Did this ever work? Or is this a first time thing? > > Objects in QTEMP are deleted when the job ends. I believe the objects > are deleted BEFORE the job log is created, so the message file no longer > exists when the job log generation needs it. > > Put a DSPJOBLOG OUTPUT(*PRINT) in the program and run it in batch and > see if the message displays in that joblog properly. > > Ken > http://www.ke9nr.net/ > Opinions expressed are my own and do not necessarily represent the views > of my employer or anyone in their right mind. __________________________________ 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-2025 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.