Initializing help system before first use

load

load


Purpose
Load a Binary Model file.
Synopsis
procedure load(mo:Model, bimf:string)
procedure load(mo:Model, bimf:string, opt:string, pwd:string, pke:string, kls:string)
procedure load(mi:Mosel, mo:Model, bimf:string)
procedure load(mi:Mosel, mo:Model, bimf:string, opt:string, pwd:string, pke:string, kls:string)
Arguments
mo 
Model object to be initialized
bimf 
Bim file name
mi 
The instance on which the model will be run
opt 
Loading options (may be separated by spaces or '-' symbols):
"c" 
Check signature (if the file is signed)
"V" 
If the file is signed, load it only if the signature is valid
"T" 
Load only signed files with a valid signature
"F" 
The argument pass is a file name (not the password itself)
opt 
Options
pass 
Password or password file (for encrypted bim files)
pke 
Private key file (for encrypted bim files)
kls 
File of public keys
Further information
1. This procedure initializes the model mo with the bim file bimf. If mo has already been initialized, the model it references is unloaded before trying to load the new file (note that this operations fails if the model is running). If the file bimf cannot be accessed or one of the required modules cannot be loaded, the procedure generates an IO error (which may be intercepted if the control parameter ioctrl is true).
2. When loading a model from a separate Mosel instance, it is important to keep in mind that the operation is performed in the environment of this instance (in particular its current working directory) and file names should be specified appropriately (the rmt: IO driver can be particularly helpful in this context).
3. The argument kls is a list of public key files ( i.e. each line of the file is a key file name): when a signed bim file is loaded, its signature is checked with the keys listed in this file. If this argument is not specified, the signing key is searched in the default public keys directory located at getparam("ssl_dir")+"/pubkeys".
Related topics
Module

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