On 12/13/2011 4:37 PM, Paul Gilmartin wrote:
I thought that NOTE was allowed/meaningful only after at least
one I/O was issued and all outstanding I/Os were checked.
(Doesn't it get its information from the IOB for the previous
I/O?)
I just ran a test on my system:
OPEN (IXSET,OUTPUT))
NOTE IXSET
STCM R1,7,STOWTTR
STOW IXSET,STOWLIST,A ENTER THE INFORMATION IN DIRECTORY
CLOSE (IXSET) FERME INSET
SPACE 1
IXSET DCB DDNAME=ENTRE1,MACRF=(W),DSORG=PO
OUTAREA DC CL80' ' AREA TO WRITE FROM
SPACE 1
STOWLIST DC CL8'GIITXXXX' MEMBER
STOWTTR DC AL3(0) TTR
DC X'00' PDS2NTTR
That results in a member pointing to an EOF block. The original
allocation had card format, 1 directory block, and the NOTE
returned 00000200, with the EOF written at TTR 3.
Gerhard Postpischil
Bradford, VT