A new optional parameter, workareak, has been added to allow the caller to specify more than the default amount of memory when defining a dynamic structure. Also, the routine now properly returns status -3 for the out-of-memory condition, allowing the caller to try again with an explicitly larger workarea.
New syntax:
xcall MIAMEX, MX_DYNSTRUCT, DYNOP_DEF, status, src$, fields, stsize, dsname$ {,errmsg$,workareak}
New parameter:
workareak (Num) [in]
requested work area size in kilobytes, default is 2048.