Caché MultiValue Basic Reference
GETPU
[Back] [Next]
   
Server:docs1
Instance:LATEST
User:UnknownUser
 
-
Go to:
Search:    

Returns the name of the output device for a print channel.
Synopsis
GETPU(channel)
Arguments
channel An expression that resolves to an integer specifying an existing print channel. Valid values are 0 through 255.
Description
The GETPU function returns the name of the output device most recently used by the specified print channel. GETPU can be used both for SETPTR mode 1 (spooler) and SETPTR mode 3 (&HOLD& file) channel assignments.
If the channel value is a nonexistent print channel or an invalid value, GETPU returns the empty string.
See Also