LDM0521E File server request failed - function=0 ddname=FILE3 return code=64 reason code=640

Document ID : KB000117530
Last Modified Date : 15/10/2018
Show Technical Document Details
Issue:
LServ issued error message "LDM0521E File server request failed - function=0 ddname=ddnameid return code=64 reason code=640"
I'munable to find function code , return code or reason code explanation for LDM0521E .
Can this message relate to permissions' changes ?
Resolution:
Yes, the message "LDM0521E File server request failed - function=0 ddname=FILE3 return code=64 reason code=640" is issued because of a security concern vs the dataset.
A '640' function 0 means a user is trying a get to the file that is not OPEN.
Typically this is a security issue meaning the OPEN failed due to security but now the user is advancing and trying to get/put to the dataset.
When using LServ, the user must be granted the correct access via the $LSRVDSN resource class that gets defined.
Please review the access authority vs the dataset defined as ddname=ddnameid and make any corrections as needed.