Functions and CALL Routines |
Valid in: | DATA step, PROC SQL, and SCL |
Syntax | |
Arguments | |
Details | |
Example | |
See Also |
Syntax |
DQSRVKILLJOB (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 DQSRVKILLJOB function terminates a job. Use the DQSRVJOBSTATUS function to determine whether a job is still running. Return values are 0 (job terminated) or 1 (job failed to terminate).
Example |
The following example terminates a job that is running on a DataFlux Integration Server. The job identifier is returned by the function that ran the job. Status information is returned in 20 seconds or less, depending on the termination of the job. Job status is checked every 5 seconds.
killrc= dqsrvKillJob(jobid,'archServer1',5001);
See Also |
Functions: |
Copyright © 2010 by SAS Institute Inc., Cary, NC, USA. All rights reserved.