×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Hi Jason,
The output of WRKJOBSCDE is not meant to be put into a file or processed
by a program. While you'll doubtless learn that you can workaround this
with CL's CPYSPLF or QShell's catsplf, it's still not recommended,
because IBM does not consider printouts to be programmatic interfaces.
IBM works hard to keep software compatible from each release to the
next, but they don't put any efforts to keep printouts in the same
format. If they change a printout, it'll break your software if you're
processing the printout in a program.
The IBM-blessed way to read/process the job schedule entries in a
program is the List Job Schedule Entries (QWCLSCDE) API.
http://publib.boulder.ibm.com/infocenter/iseries/v5r4/topic/apis/qwclscde.htm
On 12/13/2010 9:05 AM, Jason Abreu wrote:
My test code is as follows:
PGM
CRTPF FILE(QTEMP/TESTOVR) RCDLEN(132)
OVRDBF FILE(QSYSPRT) TOFILE(QTEMP/TESTOVR)
WRKJOBSCDE OUTPUT(*PRINT)
ENDPGM
However, the job fails with:
CPF9850 - Override of printer file QSYSPRT not allowed.
Any ideas why this simple override is not working?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.