|
Not really true . . . the override will work even with the other file in your library list. Are you sure that the file wasn't already open? Watch the job run and display open file to ensure that it is coming from the correct library. Brian Lawson HJM Systems, Inc. New York, NY Voice: 212-714-1055 x.32 blawson@interserv.com -----Original Message----- From: James Turnbull [SMTP:jamest@team.itg.com.au] Sent: Tuesday, December 09, 1997 6:34 PM To: MIDRANGE-L@midrange.com Subject: Re: File Overrides Yes it is possible. It depends where the file you are overriding (CONGRESS) is in your library list. If the library it is in is above Y2PAYROLL it'll be picked up. If Y2PAYROLL is above the library that contains the file you are overriding then it will assume you are trying to override the file to itself and crash. So yes you are right that it can be done via your library list. It is not however possible without your library list because you are unable to qualify the file being overridden. James Turnbull AS/Tech Consulting Christina Gonzalez wrote: > Hi, > I have a question... > > Can you do the following in a CLP program?? > > OVRDBF FILE(CONGRESS) TOFILE(Y2PAYROLL/CONGRESS) > > where file CONGRESS resides in the current library but you want to > point to the version of the file in library Y2PAYROLL. > > Library Y2PAYROLL is in the library list but is not the current > library. > > I don't wish to make library Y2PAYROLL my current library. > > I know that I could always change the library list to make it work the > way I want but I was curious to know if the same thing could be > accomplished by using the OVRDBF command. I checked the manual in the > on-line website quickly for OVRDBF and it says that you can put in a > specific library but we didn't get the results we expected. > +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- umidr +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to "MIDRANGE-L@midrange.com". | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.