Re: Outputting Job Logs and messages to a file.
- From: Steve Richter <StephenRichter@xxxxxxxxx>
- Date: 24 May 2007 14:36:18 -0700
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)
.
- Follow-Ups:
- Re: Outputting Job Logs and messages to a file.
- From: Thad Rizzi
- 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
- Outputting Job Logs and messages to a file.
- Prev by Date: Outputting Job Logs and messages to a file.
- Next by Date: Re: Outputting Job Logs and messages to a file.
- Previous by thread: Outputting Job Logs and messages to a file.
- Next by thread: Re: Outputting Job Logs and messages to a file.
- Index(es):