Attempting to use a referent value which is not fully resolved.

#6095   Run-time catchable error

Attempting to use a referent value which is not fully resolved.

Additional Information

For referent 'X'.
    where X is the name of the referent.

Explanation

This error occurs when an attempt is made to get the value of a referent using REFERENTS Key in an action that expects a string value. For example, the output file in the following code is subject to this error:

     OPEN s WITH REFERENTS-ALLOWED AS REFERENT "A"
     PUT s REFERENT "B"
     CLOSE s
     OUTPUT FILE REFERENTS KEY "A"
     SET REFERENT "B" TO "my.file"