Re: Outputting Job Logs and messages to a file.
- From: Thad Rizzi <thad_rizzi@xxxxxxxxxxx>
- Date: 24 May 2007 14:43:03 -0700
On May 24, 2:36 pm, Steve Richter <StephenRich...@xxxxxxxxx> wrote:
On May 24, 5:11 pm, Thad Rizzi <thad_ri...@xxxxxxxxxxx> wrote:
I have a CL program that runs every night and copies one file to
another. Users need to verify that the copy completed successfully,
among other things. When I DSPJOBLOG to a file, I do not see the
completion message for the copy, i.e. 3 records copied to mylib/
myfile. I would like to output the jobjog and the message file to a
log file that the user could display every morning. Any info is
always appreciated.
Thad Rizzi
should work. what does the code look like? here is my version:
CRTPF FILE(QTEMP/COPYCOMSRC) RCDLEN(80)
CPYF FROMFILE(COMSRC) TOFILE(QTEMP/COPYCOMSRC) +
MBROPT(*REPLACE) FMTOPT(*CVTSRC)
DSPJOBLOG OUTPUT(*OUTFILE) OUTFILE(qgpl/JOBLOG)
Hold on. I do get the mesasage but not the text. Need the text for
the end user.
.
- Follow-Ups:
- Re: Outputting Job Logs and messages to a file.
- From: Jonathan Bailey
- Re: Outputting Job Logs and messages to a file.
- From: walker.l2
- 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
- Outputting Job Logs and messages to a file.
- Prev by Date: Re: Outputting Job Logs and messages to a file.
- Next by Date: Re: Finding a string literal in a *PGM object
- 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):