Synopsis
PDX_MSGT mda_FindModelByDDF(long option, DDF *ddf, int *model)
Purpose
Locates a model with a specific DDF.
Description
Searches the list of allocated models for one defined with the specified DDF. The first matching model will be returned. The caller should not make any assumptions about the order models where allocated in being the same as the order they are searched in. If no model could be found with ddf, model will be set to MDA_NULL_MODEL and no error will be returned.
Input
option
Options (not used)
ddf
DDF to find
Output
model
Model with ddf or MDA_NULL_MODEL if no model was defined with ddf
Return
MDA error code