Initializing help system before first use

dmpinitmanager

Purpose
Initialize a dmpresource to access DMP Manager.
Synopsis
procedure dmpinitmanager(res:dmpresource)
procedure dmpinitmanager(res:dmpresource, env:text)
Arguments
res 
The dmpresource value to initialize.
env 
The lifecycle stage of the solution credentials to use to access DMP Manager (or empty string) from an Xpress Insight 5 app. Ignored when called within Xpress Insight 4 or Xpress Executor. One of:
DMP_ENV_DESIGN 
Design or Root
DMP_ENV_STAGING 
Staging
DMP_ENV_PRODUCTION 
Production
Example
declarations
  res: dmpresource
end-declarations
dmpinitmanager(res)
if res.status<>DMP_OK then
  writeln('ERROR: ',res.lasterror)
end-if
Further information
1. In Xpress Insight 4 and Xpress Executor, requests to DMP Manager will be authorized using "component" credentials. In Xpress Insight 5, requests will be authorized using "solution" credentials for the lifecycle environment passed in the env parameter, or the currently executing environment if none is given.
2. You should check the status attribute of the dmpresource after calling this procedure.

© 2001-2024 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.