Hi,
Just a simple query. What is the error 2361 coming from CBL_COPY_FILE routine?
#CBL_COPY_FILEerror
#CBL_routine
Hi,
Just a simple query. What is the error 2361 coming from CBL_COPY_FILE routine?
Hi,
Just a simple query. What is the error 2361 coming from CBL_COPY_FILE routine?
This would be the decimal value of the file status code being returned.
You can translate this by opening up the Windows Calculator in Programmer mode and then entering the decimal value and converting it to hex to get the two status code byte values.
In this case, 2361 decimal = 09 39 hex and since this is little endian system you would reverse the bytes so the status is 39 09 hex.
A 39 hex translates to a "9" ASCII character which means the second byte is a RTS error which would be 9.
If you look up RTS error 9 in the docs it says:
COBRT009 Directory not found (Recoverable)
The system cannot write to the specified directory for one of the following reasons:
The directory does not exist
The directory is full
Your program cannot find the directory
Hi,
Just a simple query. What is the error 2361 coming from CBL_COPY_FILE routine?
This error usually occurs when the specified directory contains a space. If that is the case, then you need to enclose the directory with double quotations, e.g. "C:\\My Directory\\Subdir\\aFile.ext"
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.