getstatus


Purpose
Get the status of a model.
Synopsis
function getstatus(mo:Model):integer
function getstatus(mi:Mosel):integer
Argument
mo 
A model
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_STOP 
Execution has been interrupted by a call to stop
Related topics
connect, stop, getexitcode.
Module
mmjobs


If you have any comments or suggestions about these pages, please send mail to support@fico.com.

© Copyright 2001-2013 Fair Isaac Corporation. All rights reserved.