but could you in
fact re-write an EOF record with Write Data? Is not the data length
zero, and is not a zero-length CCW illegal?

It is illegal in a Format-0 (24-bit) CCW but not in Format-1 (31-bit). I am sure there is some reason for that but it escapes me right now.

But there is a workaround even in format-0. Code a non-zero data length in the WRITE DATA, but set the SLI (suppress length indicator) bit. The I/O does end with a Unit Exception, which indicates that a EOF was read. BTW, this works only if CKD conversion mode is set in the CCW chain, but this is normally true for I/Os issued via EXCP

--
Bruce A. Black
Senior Software Developer for FDR
Innovation Data Processing 973-890-7300
personal: [EMAIL PROTECTED]
sales info: [EMAIL PROTECTED]
tech support: [EMAIL PROTECTED]
web: www.innovationdp.fdr.com

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to