Initializing help system before first use

dmpinitdatapipelines

dmpinitdatapipelines


Purpose
Initialize a dmpresource to access the FICO Data Pipelines service.
Synopsis
procedure dmpinitdatapipelines(res:dmpresource)
Argument
res 
The dmpresource value to initialize.
Example
declarations
  res: dmpresource
end-declarations
dmpinitdatapipelines(res)
if res.status<>DMP_OK then
  writeln('ERROR: ',res.lasterror)
end-if
Further information
1. You should check the status attribute of the dmpresource after calling this procedure.
2. Solutions do not contain a Data Pipelines service by default and this procedure will not create one if it does not already exist. Please consult the FICO Data Pipelines documentation for instructions on adding a Data Pipelines service instance to your solution.
3. HTTP requests using this dmpresource will be relative to the root of the Data Pipelines service provider. The ID of the service instance, which typically needs to be invluded in the path of any webservice requests, can be read from the resource's id attribute.