Functions and CALL Routines |
Deletes a job's log file from a DataFlux Integration Server.
Valid in: |
DATA step, PROC SQL, and SCL
|
DQSRVDELETELOG
(job-ID,<,host><,port>)
|
- job-ID
-
identifies the job submitted to a DataFlux Integration Server.
The identifier is set by a function such as DQSRVARCHJOB or DQSRVPROFJOBFILE.
- host
-
identifies the host of the DataFlux Integration Server.
If this value is not specified, then localhost
is used
- port
-
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.
The log file is created after the job terminates. Use
DQSRVJOBSTATUS to ensure that the log file is available for deletion.
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);
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.