18.08.2013 Views

(SYSLIB) Programming Reference Manual - Public Support Login ...

(SYSLIB) Programming Reference Manual - Public Support Login ...

(SYSLIB) Programming Reference Manual - Public Support Login ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SDFI, SDFO–System Data Format I/O Routines<br />

21.3. Error Return<br />

When SDFI or SDFO takes the error return, register A4 contains an error code. For<br />

some error codes, register A5 contains additional information. The error codes are as<br />

follows:<br />

00<br />

01<br />

04<br />

05<br />

06<br />

07<br />

Unrecoverable I/O error; A5 contains the status code (see the Exec ER <strong>Programming</strong><br />

<strong>Reference</strong> <strong>Manual</strong>).<br />

Error on ER TLBL$ tape label call; A5 contains the status code (see the Exec ER<br />

<strong>Programming</strong> <strong>Reference</strong> <strong>Manual</strong>).<br />

(SDFI entry point SDFINT$ only) The record that is read is larger than the image<br />

buffer; the record has been truncated. The recommended image buffer word length<br />

is returned in A5. Place the length and address of a larger image buffer in the packet<br />

and call SDFI$ again to read the entire image.<br />

(SDFI entry point SDFINT$ only) A continuation control record (051) made the total<br />

record length exceed the image buffer length; the record has been truncated. The<br />

recommended image buffer word length is returned in A5, and the word length of<br />

the partial image transferred is in S2 of word 10 for control records, and T1 of word<br />

10 for data records. Another call to SDFI$ will continue reading the image.<br />

(SDFI entry points SDFI$ and SDFINT$) A continuation control record (051) made the<br />

total record length exceed the maximum allowed word length (63 for control records,<br />

2047 for data records).<br />

(SDFO entry point SDFOC$ only) The code for the equipment type is zero. Either<br />

SDFO has not been opened correctly or the SDFO packet has been corrupted.<br />

21–18 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!