Re: Outputting Job Logs and messages to a file.
- From: CRPence <crpence@xxxxxxxxxxxx>
- Date: Fri, 25 May 2007 13:13:39 -0500
Use the data from the QMHMDT field from the OUTFILE from DSPJOBLOG as input for the MSGDTA() on a RTVMSGD. The output to the MSG() on that RTVMSGD request can then be posted.
FWiW just adjusting the program to post a completion when it does not fail, and not producing any joblog output in that case may be a reasonable alternative to all the additional work; i.e. post a received escape and leave the joblog as a record, but just like normal LOG(4 0 *SECLVL) with a completion, there is no output since the request completed without error.
Regards, Chuck
-- All comments provided "as is" with no warranties of any kind whatsoever and may not represent positions, strategies, nor views of my employer
Thad Rizzi wrote:
On May 25, 4:25 am, Jonathan Bailey <jonathan.bai...@xxxxxxxxx> wrote:.
Thanks for the suggestion. I can see the text message in my job log.
With a DSPJOBLOG to a file it doesn't get the text just the components
of the message. Basically I just want to write this message to a log
to show that every night records were copied. Seems like this should
not be difficult. I think I am missing something obvious.
- Follow-Ups:
- Re: Outputting Job Logs and messages to a file.
- From: Thad Rizzi
- Re: Outputting Job Logs and messages to a file.
- References:
- Outputting Job Logs and messages to a file.
- From: Thad Rizzi
- Re: Outputting Job Logs and messages to a file.
- From: Steve Richter
- Re: Outputting Job Logs and messages to a file.
- From: Thad Rizzi
- Re: Outputting Job Logs and messages to a file.
- From: Jonathan Bailey
- Re: Outputting Job Logs and messages to a file.
- From: Thad Rizzi
- Outputting Job Logs and messages to a file.
- Prev by Date: Re: Outputting Job Logs and messages to a file.
- Next by Date: Re: SQL Stored Procedure
- Previous by thread: Re: Outputting Job Logs and messages to a file.
- Next by thread: Re: Outputting Job Logs and messages to a file.
- Index(es):