29.12.2012 Views

The Programmer's Guide to TRSDOS Version 6 - Tim Mann's Home ...

The Programmer's Guide to TRSDOS Version 6 - Tim Mann's Home ...

The Programmer's Guide to TRSDOS Version 6 - Tim Mann's Home ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Error 37: Illegal access attempted <strong>to</strong> protected file<br />

This indicates that an access request was made for a file that was password protected and<br />

the access protection level was not met for the request. Check if the disk is write<br />

protected.<br />

Error 38: File not open<br />

A file access operation was requested using a File Control Block that indicated a closed<br />

file. Most likely, there was a program error.<br />

Error 39: Device in use<br />

A request was made <strong>to</strong> REMOVE an active device from the Device Control Block table. It is<br />

necessary <strong>to</strong> first RESET a device before removing it.<br />

Error 40: Protected system device<br />

A request was made <strong>to</strong> REMOVE a standard system device. You cannot remove system devices<br />

such as *KI, *DO, *PR, *JL, *SI, and *SO.<br />

Error 41: File already open<br />

A request was made <strong>to</strong> open a file that was already open with an access level of UPDATE or<br />

greater. If you are in a single user environment and you know that the file is not open,<br />

you can reset the "open" indication by issuing a "RESET filespec" command.<br />

Error 42: LRL open fault<br />

This error indicates that a file was opened with a logical record length passed in the<br />

open linkage that differed from the file's LRL as s<strong>to</strong>red in its direc<strong>to</strong>ry. <strong>The</strong> file will<br />

be properly opened with the LRL passed in the open. This error is for information only.<br />

Error 43: SVC parameter error<br />

This error will be returned by a SuperVisor Call when one or more parameters associated<br />

with its register linkage contain invalid values.<br />

Error 44: Parameter error<br />

This error is returned by the parameter scanner when it detects in invalid command line<br />

parameter string. <strong>The</strong> error is usually caused by a misspelled parameter name or value,<br />

use of an unsupported abbreviation, or by entering a parameter that does not exist for<br />

the command invoked.<br />

Errors 45-62: Unknown error code<br />

Error codes in this range may not be defined by the operating system. Any time the @ERROR<br />

routine is called with an error number in this range, the "Unknown error code" message<br />

will be displayed. It most likely indicates a software problem.<br />

Error 63: Extended error<br />

This error code is used <strong>to</strong> indicate that an extended error code is in register pair HL.<br />

<strong>The</strong> @ERROR routine will display "** Extended error, HL = X'nnnn'" if called with error-<br />

63.<br />

8-13

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!