Functions and CALL Routines |
Valid in: | DATA step, PROC SQL, and SCL |
Syntax | |
Arguments | |
Details | |
Example | |
See Also |
Syntax |
DQSRVDELETELOG (job-ID,<,host><,port>) |
identifies the job submitted to a DataFlux Integration Server. The identifier is set by a function such as DQSRVARCHJOB or DQSRVPROFJOBFILE.
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 |
The log file is created after the job terminates. Use DQSRVJOBSTATUS to ensure that the log file is available for deletion.
DQSRVDELETELOG does not delete local copies of the job's log file.
Return values are 0 (log deleted successfully) or 1 (log failed to delete).
Example |
The following example deletes a log file from a DataFlux Integration Server. The log file is created when the server runs a job. The job identifier is returned in the function that runs the job.
delrc= dqsrvDeleteLog(jobid,'archServer1', 5001);
See Also |
Functions: |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.