Midrange News for the IBM i Community


Posted by: Chris Proctor
Programmer Analyst
Columbia Sports Company
Portland, OR
OVRDBF not working????
has no ratings.
Published: 25 Aug 2011
Revised: 23 Jan 2013 - 1582 days ago
Last viewed on: 23 May 2017 (5275 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.

OVRDBF not working???? Published by: Chris Proctor on 25 Aug 2011 view comments(3)

Good afternoon. I have a weird issue with a CL program. I have an OVRDBF command in my CL program overridng it to a member in the file. Well, the program that is called right after the override goes right to EOF. I put the program in debug and stepped thru the overrides then displayed my job to see if the overrides were in effect and they weren't! What the heck?! I've never seen that before. Obviously, the file and the member does exist.

Anyone else ever have this problem? Any suggestions would be appreciated.

Thanks!

Chris

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

COMMENTS

(Sign in to Post a Comment)
Posted by: bobcozzi
Site Admin ****
Chicagoland
Comment on: OVRDBF not working????
Posted: 5 years 8 months 29 days 11 hours 9 minutes ago
Edited: Tue, 13 Sep, 2011 at 10:11:16 (2080 days ago)

If the program is RPG IV, you may have it compiled with ACTGRP(*NEW) or perhaps ACTGRP(QILE) or another name. If that's the case, the OVRDBF may need to be modified to include the OVRSCOPE(*JOB) parameter. That tends to be the solution for many OVRDBF issues.

Posted by: chrisp
Premium member *
Portland, OR
Comment on: OVRDBF not working????
Posted: 5 years 8 months 28 days 19 hours 6 minutes ago

Thanks, Bob. I'll give that a try.

Posted by: chrisp
Premium member *
Portland, OR
Comment on: OVRDBF not working????
Posted: 5 years 8 months 28 days 18 hours 55 minutes ago

That did it, Bob. Thanks!