Diagnosing ytdglt file corruption

Q: I get an error:

 ERROR reading ytdglt  [22:I/O error]

on every record! Does this mean the file is corrupt? or something else?

A: Error 22 is a non-specific error message, which means that anything that is wrong that it doesn't know how to handle is an Error 22.

A suggestion would be to run the STATUS program and see if it gives you meaningful information about the file. To run the program you type:

 cd \buspkg\glfile

 dbr dbldir:status

For the ISAM file name type YTDGLT

For the File to write status to press <Enter>

Here is what you should see (more or less):

=========================================

C:\BUSPKG\GLFILE>dbr dbldir:status

ISAM File Status Utility -- Version 4.02.00

Enter ISAM file name:     ytdglt

File to write status to:

Status for ISAM file ytdglt.ism

File initialized with BLDISM version 4.02.03

The record length for this file is 65 characters.  There are 1 keys.

There are currently 2809 records in this ISAM file.

Key 1 is YTDKEY

The key is 14 characters long, starting at position 1 within the record, and is ordered in ascending sequence with duplicates added at the end.

This key may not be modified by WRITE.  The index tree is of order 3. No segments allowed.

==========================================

Press <Ctrl-Z> to stop the status program.

If you can't get a similar display (the version number, the number of records and the index tree order will probably be different), that verifies the suspicion of corruption in the file. If the status looks normal, then there may be some other reason why ISLOAD isn't working.

Have you run SCANDISK on your hard drive? If this finds and fixes any problems, you may be able then to proceed with ISLOAD.

Are your backups reasonably current? The best thing may be to go back.

One other question. Are you changing versions of DBL? Is there a possibility that you dropped back to an older version of DBL somehow? I think this kind of problem can be seen with a version conflict if it is newer data files with older programs.

[Home] [Business Package] [E-Mail Systems] [Power Protection] [Helpdesk Chat]