You are looking at this from the wrong angle.

You are the SSC device (well your code is). So you decide when to
return CHECK CONDITION with either EOD, EOM, ILI + sense code + ASC +
ASCQ.

i.e. When you attempt to read past the 'filemark' that you recorded -
you return the CHECK CONDITION.

p.s. The code I have is totally unworkable at the moment. So
referencing my work will not assist in this question until I have
something that will actually 'work' even it it's only the READ_6
command...

Cheers
Mark

On Wed, Feb 27, 2008 at 2:54 AM, aftab azmi <[EMAIL PROTECTED]> wrote:
>  am working on vtl for stgt. i was writing the code for READ(6) where i got 
> stuck...
>   After reading the data how to check that whether we have hit filemark, EOD 
> or EOM..
>   Do we have to make a structure for blocks to be wriiten on tape which will 
> contain fields for filemark, EOD or EOM so when we write a filemark we can 
> set that field....
>   can any one help me clear this dout???
>
>
>
>       Unlimited freedom, unlimited storage. Get it now, on 
> http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/
>
>  _______________________________________________
>  Stgt-devel mailing list
>  [email protected]
>  https://lists.berlios.de/mailman/listinfo/stgt-devel
>
_______________________________________________
Stgt-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/stgt-devel

Reply via email to