ADSC DC161001 & DC164076 on user defined BIF

Document ID : KB000103350
Last Modified Date : 26/06/2018
Show Technical Document Details
Issue:

ADS dialog code references a user defined built-in function (BIF).  
When compiling the dialog using ADSC, we get error: 

<E> (WORDP) 
29300 MOVE WORDP(GIVEN-NAME) TO GIVEN-NAME. 
$ $ 
<E> DC164076 ILLEGAL DATANAME PARSED. STMT FLUSHED. 
<E> DC161001 SOURCE DATANAME, EXPR, OR NUMBER NOT FOUND. STMT FLUSHED.
Cause:
The error occurs when we can't find an entry for the user defined built-in function in the master function table which is in load module RHDCEVBF.
Run IDMSLOOK with PROGRAM=RHDCEVBF and see what load library it was loaded from.
If you scan the module you will find the BIF is missing.
Resolution:
If the user defined BIF is not defined in the RHDCEVBF module it needs to be defined.

If it is defined but the CV is picking up the wrong version of the RHDCEVBF load module, then change the CDMSLIB concatenation to point to the library containing the correct RHDCEVBF load module.
Additional Information:
See DocOps sections RHDCEVBF and Creating User-Defined Built-In Functions