Kbase P23598: Using the 4GL OUTPUT command doesn't send all data to the output file.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/30/2005 |
|
Status: Unverified
SYMPTOM(s):
Using the 4GL OUTPUT command doesn't send all data to the output file.
OUTPUT TO filename.
CAUSE:
There are a couple of reasons why this could happen.
1. Because the file hasn't yet been closed, some of the data may remain buffered and therefore hasn't been written to the file.
2. The file has been closed, but the operating system hasn't finished writing the file.
FIX:
You first need to close the file. You can do this by either:
1. Using the 4GL "OUTPUT CLOSE." command when you want to close the output file and have all data written.
2. Ending the current procedure. This will effectively do an OUTPUT CLOSE.
Once the output file has been closed it's then up to the Operating System to complete the writing of the file. In which case, you may need to wait a short time to ensure the file has been written (e.g. a few seconds).