Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I'm not sure what you are trying to do.....
But if you only want to get the nodename for the node you are logged into.
$ node = f$getsyi("nodename")
or
$ write sys$output f$getsyi("nodename")
To give a direct answer to your question.$ pipe show system/noproc | -
( inquire str ; -
nodename = f$element(4," ",str) ; -
define/job node &nodename )
$ node = f$trnlnm("node")regards,
Hakan Zanderau
HA-solutionsPlease supply more information when asking for help.....

Mike,
Actually, a far safer way of getting the nodename from a script is to use the F$GETSYI lexical function. For example:
$ WRITE SYS$OUTPUT F$GETSYI("NODENAME")
Almost all of the information that is displayed by the various show commands is available from one DCL lexical function or another. Of particular interest are the F$GETxxxI series (F$GETSYI, F$GETDVI, and F$GETJPI), and various others include F$ENVIRONMENT.
Using the lexicals is a FAR superior approach to getting information than parsing the output of the SHOW commands.
In fact, one can write implementations of most of the SHOW commands using the lexical functions to get information. See "DCL Lexicals: OpenVMS Jujitsu", slides available at http://www.rlgsc.com/decus/usf95/in... , for some comments.
- Bob Gezelter, CSA, CSE, http://www.rlgsc.com
Flushing, New York

Almost all of the information that is displayed by the various show commands is available from one DCL lexical function or another.
2.5” IDE Flash

Alcohol treatment cannot be equal to drug treatment. Moreover many “exclusive” treatment services in Los Angeles make the mistake of treating alcoholics and drug addicts the same method, while if the challenge faced by one group were similar to those faced by the other. But this cleanly isn’t the case. The fact is that alcohol addiction presents it’s wounded with a unique set of challenges on the road to recovery. An exclusive Substance Abuse center that fails to recognize that much, can’t ever possibly expect to help its clients get where they need to go.
The Cliffside Malibu understands the nuances of alcohol rehabilitation. Cliffside’s alcohol treatment experts are important numbers in the field, and take a fantastic wealth of knowledge to their work. Of all the fashionable alcohol rehabs existing, this is why Cliffside is the special alcohol treatment purpose for expensive clients from as far away as Thailand and the Philippines. It’s also why there should be no doubt as to where your interests will be best served.
Alcohol recovery is an extraordinarily easily broken process. To complete it successfully, you’re going to need exactly the right kind of care from exactly the right kind of caregivers. Cliffside Malibu can give it to you with their private alcohol rehab programs. All that remains, now, is for you to make the right choice. The day you arrive at Cliffside’s secluded private estate will be the day you start remembering why you ever believed tomorrow to be a thing worth looking forward to. For the sake of the people who care about you, here’s hoping you can muster the courage to do what you must.

![]() |
![]() |
![]() |
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |