u014b User Exit

The u014b user exit writes an absolute disk sector.

Syntax

result = oconv(write.command, ’u014b’)

Parameter(s)

result

A status code indicating:

00

Successful.

xx

Failed, where xx is any nonzero code.

write.command

write.command<1>  =  drive.num , <vm>,  block.num

drive.num

1 = Drive A:

2 = Drive B:

3 = Drive C:

4 = Drive D:

<vm>

Value mark.

block.num

Logical disk block number to write.

write.command<2> = mode

Can be:

1

Convert hexadecimal to ASCII.

write.command<3>

u014b

write.command<4>

A sector’s worth of data to write, in 1024 2-digit hexadecimal characters, which corresponds to a 512-byte sector.

See Also

u0039 User Exit

u014a User Exit