Functions and CALL Routines |
Valid in: | DATA step, PROC SQL, and SCL |
Syntax | |
Arguments | |
Details | |
Example | |
See Also |
Syntax |
DQSRVCOPYLOG (job-ID,filename<,host><,port>) |
identifies the job that is submitted to a DataFlux Integration Server. The identifier is previously returned by a function such as DQSRVARCHJOB or DQSRVPROFJOBFILE.
identifies where the log file is copied on the local host.
identifies the host of the DataFlux Integration Server. If this value is not specified, then localhost is used
identifies the port through which the local host communicates with the DataFlux Integration Server. If this value is not specified, or if the value is 0 or a negative number, then the default port number 21036 is used.
Details |
To capture log information for a particular job, use the DQSRVJOBSTATUS function to ensure that the job is finished before you copy the log.
Return values are 0 (log copied successfully) or 1 (log failed to copy).
Example |
The following example copies a log file from a DataFlux Integration Server. The log file is generated when the server runs a job. The job identifier is returned in the function that runs the job.
copyrc= dqsrvCopyLog(jobid,'archServer1', 5001,'archServer1.log');
See Also |
Functions: |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.