Fixed HASPEND^SDMAPI1 return value (REF-131)