05.02.2013 Views

Chapter 3. Operating NetView FTP V2.2.1 MVS - IBM

Chapter 3. Operating NetView FTP V2.2.1 MVS - IBM

Chapter 3. Operating NetView FTP V2.2.1 MVS - IBM

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Automatic Restart of an OSI File Transfer<br />

All information concerning a request is written to a recovery file. This file contains<br />

information about requests that have been passed to OSI/File Services and for<br />

which <strong>NetView</strong> <strong>FTP</strong> <strong>V2.2.1</strong> <strong>MVS</strong> has not yet been notified as being completed.<br />

Each OSI server has its own recovery file.<br />

A recovery file keeps information necessary for the OSI server to continue processing<br />

the currently active requests following an abnormal termination. If the OSI<br />

server terminates abnormally, the current request is set to waiting. If the queue<br />

handler terminates, all outstanding requests are set to waiting. When the OSI<br />

server is restarted, it knows from its recovery file which file transfer requests are<br />

new and which have already been passed to OSI/File Services.<br />

The OSI server uses the recovery file to rebuild its Local Request Table. This table<br />

is updated after each significant change of the server status. When the contents of<br />

the recovery file are put into the Local Request Table at initialization time, the<br />

recovered entries are marked. It does not matter whether the control structures<br />

corresponding to each request are destroyed, because each request must be<br />

obtained from the queue handler again before the request can be completed.<br />

If one of the recovered requests was canceled by the operator or the filestore<br />

owner, the result is still available for the OSI server as the issuer of the request.<br />

This ensures that all recovered requests are finished in the server and removed<br />

from the Local Request Table.<br />

Manual Restart of an SNA File Transfer<br />

You can manually restart a transfer, to recover from errors that automatic transfer<br />

restart cannot handle, or when automatic transfer restart is not desired.<br />

How the Manual Restart Facility Works<br />

The following items characterize <strong>NetView</strong> <strong>FTP</strong> <strong>V2.2.1</strong> <strong>MVS</strong>’s manual transfer restart<br />

facility:<br />

� If <strong>NetView</strong> <strong>FTP</strong> <strong>V2.2.1</strong> <strong>MVS</strong> is not able to restart a transfer automatically, or if<br />

you specify that you do not want it to try to automatically restart a transfer, the<br />

server that obtains the file-transfer request marks it with the status finished<br />

and writes it back to the request queue. Both servers tell the appropriate users<br />

about the interruption in the file transfer.<br />

The file-transfer request is not rescheduled until you restart it. You can restart<br />

only those file-transfer requests that are marked restartable.<br />

When the request is scheduled, a checkpoint record from the checkpoint data<br />

set is used to restart the file transfer. It is restarted from either the recorded<br />

checkpoint or the beginning of the file depending on the value you specified for<br />

the Restart Point parameter. The sending and the receiving servers position<br />

their data sets to match with the checkpoint and the file transfer is resumed.<br />

A special message is issued by the server that indicates if the file transfer is<br />

started from the recorded checkpoint or the beginning of the file.<br />

Appendix B. Transfer Error Recovery 191

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!