View Full Version : CRTLF in QTEMP on a file in QTEMP
Guest.Visitor
09-12-2003, 07:29 AM
At first I thought it was because you did not have QTEMP in your library list but that gives a different error (CPF7302). What does give CPF7306 is if you've another copy of the physical in a different library that is above QTEMP in your library list. so the logical is being compiled over the other library version but is being told to use the data member of the QTEMP version; clearly not possible. Could that be your situation?
Guest.Visitor
09-12-2003, 08:00 AM
Yes that is my situation. I was hoping I could direct the CRTLF to build over the version in Qtemp. Perhaps this isn't possible. I could move Qtemp to top of my library list or maybe a better solution is to create a PF which doesn't exist in my Library List.
Guest.Visitor
09-12-2003, 10:58 AM
Perhaps if you add an OVRDBF to override the physical file to QTEMP before your CRTLF command it will work.
Guest.Visitor
09-12-2003, 11:17 AM
I tried the OVRDBF but it didn't make any difference. Rather than do a CRTLF I used OPNQRYF over QTEMP/GLBFILE. This created the index I needed.
Guest.Visitor
09-14-2003, 11:29 PM
<hr width=50 align=left>Code ('http://www.mcpressonline.com/mc/showcode@@.6ae7c359')
Guest.Visitor
09-14-2003, 11:29 PM
Sorry you did not get a second response - in the UK; I left for the weekend before the guys over the water ;) Just to say that I always make it a point that QTEMP must be the top/first library in the library list. Thus any temporary work files or whatever that are created during the session will always be first found in a *LIBL search and take priority.
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.