DMSRVDATASVC Procedure

Example 1: Send Input Data to Service and Output to Data Set

Features:
PROC DMSRVDATASVC:
HOST=
PORT=
SERVICE=
DATA=
OUT=
TIMEOUT=
USERID=
PASSWORD=
This example reads in a data file to a specified service, and the output from the data service appears in the indicated output data set. The HOST= option names the server, and the PORT= option specifies the port as the default, so the server communicates over port 21036 of ‘myserver’. The SERVICE= option is the service to which the input data is sent, and the DATA= option specifies the input data set. The OUT= option specifies the output data set. The TIMEOUT= option is the length of time, in seconds, that the job is allowed to run before being terminated. The USERID= and PASSWORD= options are the user credentials under which the job is being executed. The SERVICE was previously created and uploaded to the DataFlux Data Management Server.
/* send input data dqsio.dfsample to service analysis.ddf.        */
/* output from the data service appears in data set work.outsrv17 */

PROC DMSRVDATASVC
   HOST='myserver'
   PORT=21036
   SERVICE='analysis.ddf'
   DATA=dqsio.dfsample
   OUT=outsrv17
   TIMEOUT=360
   USERID='myname'
   PASSWORD='mypassword';
RUN;