Here's the second level text:

Message . . . . : Override of printer file &1 not allowed.
Cause . . . . . : One of the following occurred:
-- The printer file was overridden to file &2. Overrides to the name of
the system printer file are not allowed.
-- The file &2 is not a printer file. File &2 has the same name as the
system printer file and is in a library before QSYS in the library list.
Recovery . . . : Do one of the following and then try the request again:
-- Delete the override of file &1 (DLTOVR command).
-- Change the system library list (CHGSYSLIBL command) so QSYS is before
all other libraries that contain the file &2.

Does this apply?

On Mon, Dec 13, 2010 at 10:05 AM, Jason Abreu <
jason.abreu@xxxxxxxxxxxxxxxxxxxx> 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?

--
Jason Abreu
Abreu Innovations, Inc.
jason.abreu@xxxxxxxxxxxxxxxxxxxx
http://www.abreuinnovations.com/
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.