- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Lexical function node of a running process
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2009 02:57 PM
11-30-2009 02:57 PM
Lexical function node of a running process
In a VMS cluster you can use the lexical functions below to find out if a process is running some where in a VMS Cluster.
The lexical function f$pid gives back the process id.
Is there also a lexical function that gives back the actual node name on which the process is running.
$ PROC_NAME = "PRC_TOINE"
$ ctx = ""
$ tmp = F$CONTEXT("PROCESS", ctx, "NODENAME", "*","EQL")
$ tmp = f$context("PROCESS",ctx,"PRCNAM","''PROC_NAME'","EQL")
$ pid = f$pid(ctx)
Thanks,
/Toine
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2009 03:03 PM
11-30-2009 03:03 PM
Re: Lexical function node of a running process
I found it in the help.
f$getjpi(pid,"NODENAME")
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2009 03:04 PM
11-30-2009 03:04 PM
Re: Lexical function node of a running process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2009 03:08 PM
11-30-2009 03:08 PM
Re: Lexical function node of a running process
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2009 03:23 PM
11-30-2009 03:23 PM