Put an override in an interactive session and then compile programs

Conrad Baker
Senior Systems Analyst
Akrochem Corporation
Voice 330-535-2100 ext 1150

This message and any attachments are privileged and intended for the use of
the addressee. If you receive this communication and are not the intended
recipient, please do not forward, copy, print, use or disclose this
communication to others. Also, please notify the sender by replying to this
message and then delete it from your system.

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Sent: Thursday, April 05, 2012 3:23 PM
To: midrange-l@xxxxxxxxxxxx
Subject: MIDRANGE-L Digest, Vol 11, Issue 522

Send MIDRANGE-L mailing list submissions to

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to

You can reach the person managing the list at

When replying, please edit your Subject line so it is more specific than
"Re: Contents of MIDRANGE-L digest..."

*** NOTE: When replying to this digest message, PLEASE remove all text
unrelated to your reply and change the subject line so it is meaningful.

Today's Topics:

1. ILE PGM getting authority error when it does have authority
(Jeffrey Tickner)
2. Question on updating some OLD programs (Victor Hunt)

message: 2
date: Thu, 5 Apr 2012 14:13:40 -0500
from: Victor Hunt <xlcfdp@xxxxxxxxx>
subject: Question on updating some OLD programs

I do apologize in advance for asking about something most folks dealt with
years and years ago...

I have a large number of programs in our sales reporting system that were
written a very long time ago. We are in the beginning stages of upgrading
them. In most cases, these programs have program defined files. In almost
all cases, the file name is something like SALES. There isn't a file on our
system called SALES. There are however files called SALES2012, SALES2011,
etc. The CL has an OVRDBF command to point SALES to the appropriate
SALESYYYY file for processing. Of course, this is variable as any SALESYYYY
file going back 10 years can be selected by the user.

As part of the upgrade, we'd like to change all program defined files to
externally defined files. Unfortunately, the file SALES doesn't exist so
compiles would fail. I could change them all to SALES2012, but at some point
this file won't exist either. I can create an empty file named SALES with
the same layout and no records, but this still has it's problems (there are
many programs where the file is defined more then once, SALES1 and SALES2,
for summary processing).

What is the best way to handle this situation? We are on 7.1 by the way if
it makes any difference in how we would handle this.

This thread ...

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

This mailing list archive is Copyright 1997-2019 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].