Difference between revisions of "PUTLOG()"

From Recital Documentation Wiki
Jump to: navigation, search
(Products)
 
Line 30: Line 30:
  
 
==Products==
 
==Products==
Recital Database Server, Recital Mirage Server, Recital Terminal Developer
+
Recital, Recital Server
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]

Latest revision as of 15:00, 7 December 2009

Purpose

Function to create or update a logical name with specified equivalence string


Syntax

PUTLOG(<expC1>,<expC2>, [<expC3>])


See Also

GETLOG(), GETENV(), PUTENV()


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