Midrange News for the IBM i Community


Posted by: Viking
Information Systems
CA
OVRPRTF Question
has no ratings.
Published: 19 Sep 2011
Revised: 23 Jan 2013 - 2185 days ago
Last viewed on: 16 Jan 2019 (7023 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

OVRPRTF Question Published by: Viking on 19 Sep 2011 view comments(5)

Hi all,

Something simple I need a little refresher/clarification on: 

PGM                                                      
                                                         
OVRPRTF    FILE(QSYSPRT) HOLD(*YES) OVRSCOPE(*JOB)       
RUNSQLSTM  SRCFILE(QSQLSRC) SRCMBR(DLTREQS) COMMIT(*NONE)
DLTOVR     FILE(QSYSPRT)                                 
                                                         
ENDPGM                                                   

When this runs, the override is successful, but the DLTOVR gives me CPF9841 "Override not found at specified level". Why is that and what is the correct way to create and delete this printer file override?

Thanks.

 

Return to midrangenews.com home page.
Sort Ascend | Descend

COMMENTS