You can only get the last one if you used "WRITE FROM" some WS variable. When you use only WRITE, that data is no longer available to the program because the pointer to the i/o buffer has been moved. If you refer to the record-area after the WRITE, the result is unpredictable.so we cant get the some previously written records except the last one