Initializing help system before first use

getstatus

Purpose
Get the status of a model or of an instance.
Synopsis
function getstatus(mo:Model):integer
function getstatus(mi:Mosel):integer
Arguments
mo 
A model
mi 
A Mosel instance
Return value
The status of a Mosel instance is 0 if it is connected, any other value indicates that it is not ready. The model status can be:
RT_NOTINIT 
Model has not been initialized or has been unloaded
RT_RUNNING 
Model is running
RT_OK 
Model is ready for execution and/or no error occurred during last execution
RT_MATHERR 
A mathematical error occurred
RT_ERROR 
A runtime error occurred
RT_IOERR 
An IO error occurred
RT_NULL 
A NULL reference error occurred
RT_LICERR 
Execution could not start because no license was available
RT_FDCLOSED 
Execution on a separate instance has been interrupted
RT_DETACHED 
Execution on a separate instance continues although the instance has been disconnected (see detach)
RT_STOP 
Execution has been interrupted by a call to stop
Related topics
Module

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