Assigns a user mode logical name within the process logical name table as a synonym for a physical name. The logical name is deleted when you exit from DEC DATATRIEVE.
1 – Input
This function takes two parameters as input. The first is a logical name character string; the second is a physical name character string. Each string must be in quotation marks (unless you use variables previously declared). The two strings must be separated by a comma and enclosed in parentheses.
2 – Output
None.
3 – Example
DTR> FN$CREATE_LOG ("HANK", "DB0:[MORRISON.RW]LOG.RNO") DTR>
4 – Usage Note
Logical names are defined at execution time (runtime) and not during the compilation phase. If you define a logical name within a statement, the logical name is not translated during the compilation phase, consequently it is executed without being defined, which will lead to an error. DTR> READY YACHTS DTR> BEGIN [Looking for statement] CON> FN$CREATE_LOG("FORM_DIR","DTR$LIBRARY:FORMS"); CON> FOR X IN YACHTS [Looking for statement] CON> WITH_FORM YACHT IN FORM_DIR [Looking for SEND or RECEIVE statement] CON> SEND FROM X TO BOAT; CON> END Error opening DECforms form file DISK:[DALFY]FORM_DIR.EXE; .