Runs the specified Production Reporting program on the remote server without waiting for execution to complete. This method copies the Production Reporting program file to the server, runs the Production Reporting report remotely on the server, does not wait for the report to complete running, and returns immediately. Use the RemoteGetResults method to check the report run status and to retrieve the report output.
Like the RemoteRun method, the RemoteRunNoWait method generates a unique random name for the Production Reporting program when it is copied to the server. These temporary files are cleaned up when RemoteGetResults is called. This eliminates contention with other users who may be running a program with the same name using the same directory on the remote server.
The SPF report output file has the same path and filename as the specified Production Reporting program file, but the filename has an SPF extension.
As with the RemoteRun method, when the Production Reporting Viewer is displaying report output, close the report prior to running an Production Reporting program to prevent file sharing violations due to overwriting of an open SPF file.
It is assumed that there is no -F flag or NewReport command used in the Production Reporting program, and that the program generates a single report. It is also assumed that there is no -E flag on the command line, and that the Production Reporting command on the server has the extension SQR. If these assumptions are not true, do not use the RemoteRunNoWait method; instead use the RemoteGet, RemotePut, and RemoteExec methods directly.
The following command line runs the program mytest.sqr using the database login acctg and the password acctg:
mytest.sqr acctg/acctg