PUTLOG()
Purpose
Function to create or update a logical name with specified equivalence string
Syntax
PUTLOG(<expC1>,<expC2>, [<expC3>])
See Also
Description
Used to manipulate OpenVMS process wide logical names, the PUTLOG() function creates a logical name <expC1> with the equivalence string <expC2>. If the logical name <expC1> already exists, <expC2> will overwrite the existing equivalence string. The optional <expC3> may be used to specify the name of the logical table where the logical name should be created or updated. If no logical table is specified, the PUTLOG() function creates or updates values in the LNM$PROCESS_TABLE. These values can be displayed in OpenVMS by entering the OpenVMS command SHOW LOGICAL/PROCESS. On other operating systems, this function operates in the same way as PUTENV().
Example
// To change the logical value of sys$print menu at 2,35 to 8,45; with "LINE","LASER","PLOTTER"; label "PRINTERS"; clear; quit if not empty(menuitem()) putlog("sys$print", menuitem()) endif
Products
Recital, Recital Server