Information icon IBM InfoSphere DataStage and InfoSphere QualityStage, Version 8.5
space Feedback

DSSetParam

Specifies job parameter values before running a job. Any parameter not set will be defaulted.

Syntax

ErrCode = DSSetParam (JobHandle, ParamName, ParamValue)

JobHandle is the handle for the job as derived from DSAttachJob.

ParamName is a string giving the name of the parameter.

ParamValue is a string giving the value for the parameter.

ErrCode is 0 if DSSetParam is successful, otherwise it is one of the following negative integers:

Example

The following commands set the quarter parameter to 1 and the startdate parameter to 1/1/97 for the qsales job:

paramerr = DSSetParam (qsales_handle, "quarter", "1")
paramerr = DSSetParam (qsales_handle, "startdate",
→ "1997-01-01")

PDFThis topic is also in the IBM InfoSphere DataStage Programmer's Guide.

Update timestamp Last updated: 2010-09-30