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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The ESTAE Recovery Routine of the Server Subtasks<br />

This recovery routine is implemented in module DVGMSAX. It performs the following<br />

steps:<br />

1. If the abnormal termination results from the following macroinstructions:<br />

� OPEN<br />

� PUT (QSAM)<br />

� CLOSE (QSAM)<br />

� STOW (QSAM)<br />

� WRITE (QSAM).<br />

and an SDWA could be provided, control is given back immediately to the<br />

RTM, requesting it to give control to a retry routine. The retry routine issues an<br />

error message and then performs all necessary termination processing for the<br />

file-transfer request. No dump is taken. If, in this case, no SDWA was<br />

obtained by the resource termination manager, no retry is requested by<br />

<strong>NetView</strong> <strong>FTP</strong> <strong>V2.2.1</strong> <strong>MVS</strong> and the processing in the recovery routine continues.<br />

2. The appropriate return and reason codes for the interrupted transfer are set up<br />

and the file-transfer request is updated in the request queue. It is given the<br />

status finished.<br />

<strong>3.</strong> The <strong>NetView</strong> <strong>FTP</strong> <strong>V2.2.1</strong> <strong>MVS</strong> symptom record is set up and dumped via a<br />

SNAP macroinstruction.<br />

4. The following storage areas are dumped via SNAP:<br />

� Dynamic work areas used by the server subtask that abended<br />

� Dynamic work areas used by the server main task<br />

� Area used by module DVGMCQI (queue handler interface module)<br />

� Area used by the pre-transfer user-exit routine<br />

� Area used by the post-transfer user-exit routine<br />

� Area used by the post-conversation user-exit routine<br />

� Area used by the message definition module for the <strong>NetView</strong> <strong>FTP</strong> log file<br />

� Area used by the message definition module for the file-transfer report file.<br />

5. A storage dump is produced via SNAP, using the following parameters:<br />

PDATA All<br />

SDATA LSQA, SWA, CB, TRT, DM, ERR, IO, Q.<br />

6. A message indicating the abnormal termination event is issued.<br />

7. If necessary, the input or output data set is closed.<br />

Note: No checkpoint is taken in case of an abnormal end. If you want to<br />

restart the transfer, <strong>NetView</strong> <strong>FTP</strong> <strong>V2.2.1</strong> <strong>MVS</strong> uses a checkpoint that was<br />

taken earlier, if one exists.<br />

8. If an abnormal termination occurred in the pre-transfer user exit, the server<br />

subtask terminates immediately without any recovery action.<br />

<strong>Chapter</strong> 1<strong>3.</strong> Handling <strong>NetView</strong> <strong>FTP</strong> <strong>V2.2.1</strong> <strong>MVS</strong> Abnormal Terminations 159

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

Saved successfully!

Ooh no, something went wrong!