User`s guide

Upon return, the Write Sequential function sets register A to zero if the write
operation is successful. Otherwise, register A contains an error code identifying the
error as shown below:
01 No available directory space
02 No available data block
09 Invalid FCB
10 Media change occurred
2S5 Physical Error : refer to register H
Error Code 01 is returned when the write function attempts to create a new extent
that requires a new directory entry, and no available directory entries exist on the
selected disk drive.
Error Code 02 is returned when the write command attempts to allocate a new
data block to the file, and no unallocated data blocks exist on the selected disk drive.
Error Code 09 is returned if the FCB is invalidated by a previous BDOS close call
that returns an error.
Error Code 10 is returned if a media change occurs on the drive after the refer-
enced FCB is activated by a BDOS Open or Make call.
3-32
BDOS Function Calls CP/M 3 Programmers Guide