Kbase P24552: Internal Results files - what are Qbf.p, Qbf.d and Qbf2.d ?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  16/10/2008 |
|
Status: Unverified
GOAL:
What are files Qbf.p, Qbf.d and Qbf2.d created by Results?
GOAL:
Internal Results files - what are Qbf.p, Qbf.d and Qbf2.d ?
GOAL:
What temporary files are created by Query/Results?
GOAL:
What temporary files are created by Results?
FACT(s) (Environment):
UNIX
Windows
FIX:
It can be helpful when troubleshooting Results errors to know about files which Results creates and uses internally. Results can create the following temporary files on Unix / Windows:
_qbf.p / qbf.p
This contains the 4gl code for the most recent query which Results has printed or previewed. It is a temporary file that should exist only from the time the query is printed or previewed to the time Results is exited.
The -T startup parameter (Temporary Directory) will not change the location of the _qbf.p file.
_qbf.d / qbf.d
There are two reasons why Results may create this file:
a) When saving a new query to an existing query directory file, Results creates this file to keep track of what queries already exist in this query directory file. The new query is not added to this list until:
i) another query is created and saved to this query directory file;
ii) the same query is saved again to this query directory.
b) Results also creates a Qbf.p file during the course of an application rebuild. In this case it is a temporary copy of the .QC7 file. It is deleted from the system after the current Results session ends. It is also overwritten if Results needs a Qbf.p to keep track of query directory information (as described in usage 1 above) when saving queries or when the user chooses to rebuild all query files during an application rebuild. In this case the .Qbf.p is temporarily created for usage 2 and then overwritten for usage 1.
_qbf2.d / qbf2.d
This is the output for the last query that was sent to a printer. This is not created when only previewing a query.
These files will get created in the same directory that contains the query files (que####.p) and the query directory file (*.qd7) for the query they are referencing.
Note: this will not necessarily be the user's working directory.
An error will occur if two users are trying to run queries from the same shared directory. This is because two Qbf files can not be created at the same time for different users. To avoid this error, and to avoid each user overwriting each other's queries, each user must use a distinct working directory for their own queries. An error may also occur if a user does not have write permission to the directory containing the queries because these internal files will not be able to be created.