Initializing help system before first use

# getparam

Purpose
Get a Mosel control parameter value.
Synopsis
`int getparam(XPRMcontext ctx, int parnum, void *value);`
Arguments

ctx | Mosel's execution context
parnum |
XPRM_PARAM_ZEROTOL | For "zerotol" (real),
XPRM_PARAM_REALFMT | For "realfmt" (string),
XPRM_PARAM_IOCTRL | For "ioctrl" (Boolean),
XPRM_PARAM_IOSTATUS | For "iostatus" (integer),
XPRM_PARAM_NBREAD | For "nbread" (integer),
XPRM_PARAM_READCNT | For "readcnt" (Boolean)
XPRM_PARAM_UTC | For "UTC" (Boolean)
XPRM_PARAM_AUTOFINAL | For "autofinal" (Boolean)
XPRM_PARAM_TMPDIR | For "tmpdir" (string)
XPRM_PARAM_WORKDIR | For "workdir" (string)
XPRM_PARAM_RESTRICT | For "restrict" (integer)
XPRM_PARAM_MODELNAME | For "modelname" (string)
XPRM_PARAM_MODELNUMBER | For "modelnumber" (integer)
value | Parameter value, the type depends on the parameter.

Return value
0 if successful, 1 otherwise.
Further information
Get the value of a control parameter of Mosel. To get the value of a module control parameter, the function getdsoparam must be used. The reader is referred to the Mosel Reference Manual for a description of the Mosel control parameters.
Related topics
getdsoparam.
Parent Topic Model execution and handling of modules

© 2001-2026 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.