F$PROCESS()

From VSI OpenVMS Wiki
Revision as of 19:15, 28 June 2019 by Darya.zelenina (talk | contribs) (Created page with "'''F$PROCESS''' is a lexical function that obtains the current process name string. The F$PROCESS function has no arguments, but must be followed by pare...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

F$PROCESS is a lexical function that obtains the current process name string. The F$PROCESS function has no arguments, but must be followed by parentheses.

Syntax

F$PROCESS()

Return Value

A character string containing the current process name.

Examples

$ NAME = F$PROCESS()
$ SHOW SYMBOL NAME
  NAME = "MARTIN"

In this example, the F$PROCESS function returns the current process name and assigns it to the symbol NAME.