Read the file from bottom.
Posted: Tue Jan 01, 2013 11:58 pm
Dear all,
I need clues to read a file from bottom. I tried but I'm struck in this. My code goes like this(Aimed to read the last six records but it didn't obviously it wont)
I'm not able to find how to read the last 6 records of a file. I'm confused to resolve this "DO IX=XEM.0 TO "y" BY -1" I don't know what should be the value of "y". Any suggestions will be helpful.
Regards,
Viswa
I need clues to read a file from bottom. I tried but I'm struck in this. My code goes like this(Aimed to read the last six records but it didn't obviously it wont)
.""EXECIO * DISKR INDD(STEM XEM."
DO IX = XEM.0 TO 6 BY -1 "
I'm not able to find how to read the last 6 records of a file. I'm confused to resolve this "DO IX=XEM.0 TO "y" BY -1" I don't know what should be the value of "y". Any suggestions will be helpful.
Regards,
Viswa