Open Error
ptrMyFile = hopen("myfile.hsh",UPDT,LOCK,&iReason);
if (ptrMyFile == NULL) { error processing }
iReason contains the error code