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 - 4073 days ago
Last viewed on: 18 Mar 2024 (11836 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: 12 years 6 months 25 days 7 hours 56 minutes ago
Edited: Tue, 13 Sep, 2011 at 10:11:16 (4571 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: 12 years 6 months 24 days 15 hours 53 minutes ago

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

Posted by: chrisp
Premium member *
Portland, OR
Comment on: OVRDBF not working????
Posted: 12 years 6 months 24 days 15 hours 42 minutes ago

That did it, Bob. Thanks!