WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Error Codes

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

1478 Binary Hash/Sort Error

Keywords:    binarysort binaryhash

Question:

I am trying to use the Binary Sort function to sort a list of files by date as given in the sample code. I am receiving an error, "1478, Binary Hash/Sort Error: specified record size larger than binary...(the message is longer than the error message box and I am unable to read it). Could you tell me what the rest of the error is? Also, how do I determine the recsize, key offset and key size of a file. Do you know of any other reference point that can tell me this?

Answer:

	1478  BinaryHash/Sort: Specified record size is larger than binary buffer 
The binarySort function can only sort a file of fixed size records. I suspect your list does not have fixed size records. The Record size, keysize and offset are determined by the person who laid out the file.

So let's back up and determine how you obtained this list of files. How did you get it?

If you really need to sort a BIG list of files, you could read them in one by one and stuff them individually into a Binary Buffer, then sort the buffer and then retrieve them.

Unless you have some grounding in database design it may be tough sledding.


Article ID:   W12945
Filename:   1478 BinaryHash BinarySort.txt
File Created: 1999:04:15:16:50:42
Last Updated: 1999:04:15:16:50:42