During sometimes lengthy operations such as RemoteConnect, RemotePut, RemoteGet, RemoteDisconnect, RemoteExec, RemoteExecNoWait, RemoteDeleteFile, RemoteRun, RemoteRunNoWait, and RemoteCheckFile, you can call RemoteCancel to cancel the operation.
When you call RemoteCancel while RemoteExec waits for the remote command to complete, the connection to the host closes and the waiting terminates. However, RemoteCancel does not terminate the remotely executing program, and there is no provision for cancelling remote execution successfully initiated using RemoteExecNoWait.
During such operations, Production Reporting Remote frequently yields control back to the window message queue. This means that any application, including the calling application, gains control while the background Production Reporting Remote operation is in progress.
Do not disrupt a running Production Reporting Remote session. In particular, the calling application must not close the window that initiated Production ReportingRemote until Production Reporting Remote is complete.