Initializing help system before first use

# getparam

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

ctx | Mosel's execution context
parnum |
0 | For "zerotol" (real),
1 | For "realfmt" (string),
2 | For "ioctrl" (Boolean),
3 | For "iostatus" (integer),
4 | For "nbread" (integer),
5 | For "readcnt" (Boolean)
6 | For "UTC" (Boolean)
7 | For "autofinal" (Boolean)
8 | For "tmpdir" (string)
9 | For "workdir" (string)
10 | For "restrict" (integer)
11 | For "modelname" (string)
12 | 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.