The PORT-CHANGE paragraph is performed by the ML-01 main loop routine when a change of port file status has been detected by the complex wait routine. It performs the following tasks:
The state of the port file is displayed.
If the port file has closed (FILESTATUS of 7 or 8) at the other end:
The port file at this end is closed.
The port file is reoffered.
A FILESTATUS of 7 means that data might have been sent by the other end before it closed the port file. To read this data, modify your NOF skeleton program as required.
A FILESTATUS of 8 means that the other end closed the port file without sending any further data to it.