Valid in: | DATA step, PROC SQL, and SCL |
/* Incorrect use of function arguments */ dmsrvCopyLog('jobid');
/* Localhost is used for the host */ dmsrvCopyLog('jobid', '', 21036, 'filename'); /* Correct */
dmsrvCopyLog('jobid', dmsrvhostname, 21036, 'filename');
/* Incorrect use of function arguments */ dmsrvCopyLog('jobid'); /* Port 21036 or 21037 is used */
dmsrvCopyLog('jobid', dmsrvhostname, 0, 'filename'); /* Correct */
dmsrvCopyLog('jobid', dmsrvhostname, 21036, 'filename');