The same command line passed to RemoteRunNoWait. Specifies the target SPF output file. | ||
The temporary name returned by RemoteRunNoWait. Specifies the name of the program to check. |
Checks for and retrieves the results of an Production Reporting report including the output SPF file, if any, created with RemoteRunNoWait.
The outcome (SPF, ERR, and/or OUT file) is downloaded to the PC. The SPF report output file has the same pathname as the specified Production Reporting program file except that it has an SPF extension.
During program execution, Production Reporting errors are trapped, and an error file is created and downloaded to the PC. The name of the error file on the PC is based on the name of the Production Reporting program on the PC, with the file extension changed to ERR.
The standard output of a program executed on the server is generally spooled into a local file. The name of the spool file on the PC is based on the name of the Production Reporting program on the PC, with the file extension changed to OUT.
RemoteGetResults returns TRUE when the Production Reporting program successfully completes. Successful report completion is achieved if there are no errors and the message "Production Reporting: End of Run" is found in the OUT file. If completion is successful, the Production Reporting program output is downloaded to the PC.
RemoteGetResults returns FALSE when the Production Reporting program is still running. This occurs when there are no errors and no "Production Reporting: End of Run" message is found in the OUT file. When completion is not successful, Production Reporting program output is not downloaded to the PC. After the outcome is successfully downloaded, a cleanup is automatically invoked to delete all generated files form the server. This occurs for both successful and failed outcomes.