Operating System - OpenVMS
1751861 Members
5570 Online
108782 Solutions
New Discussion юеВ

Re: Changing prompt of OpenVMS system

 
Vineet Deshpande
Frequent Advisor

Changing prompt of OpenVMS system

Hi,

Can anyone tell me how I can change the prompt on my OpenVMS machine? E.g.: The current prompt is "$ ". I want to change it to "TEST>"

How can I achieve this?

Please help.

Thanks,

Vineet
4 REPLIES 4
Kris Clippeleyr
Honored Contributor

Re: Changing prompt of OpenVMS system

Vineet,

HELP is your friend.

$ HELP SET PROMPT

Regards,
Kris (aka Qkcl)
I'm gonna hit the highway like a battering ram on a silver-black phantom bike...
Art Wiens
Respected Contributor

Re: Changing prompt of OpenVMS system

"Can anyone tell me how I can change the prompt ..."

I think everyone here can ;-)

$
$ set prompt="TEST> "
TEST> set prompt="Remember, lots of good HELP online> "
Remember, lots of good HELP online> set prompt="$ "
$

Cheers,
Art
Hoff
Honored Contributor

Re: Changing prompt of OpenVMS system

Here's how to find this sort of stuff, and to easily answer your own questions and to make the forward progress that your boss likes:

You could use a Google search for

"How do I change the prompt in OpenVMS?"

and that'll lead you to the command:

SET PROMPT="TEST> "

Or you could open and read (or open and search) the User's Guide and the DCL Dictionary available here:

http://www.hp.com/go/openvms/doc

PDF is easy to search, and "PROMPT" would be an obvious target for your search.

Avoid the HP site-local search engine. Google (still) works better, particularly if you know various available Google keywords including the site:URL keyword.

If you're not familiar with terminology on OpenVMS (which can be a prerequisite for using and searching and learning OpenVMS), then the OpenVMS User's Guide, the OpenVMS Programming Concepts, the OpenVMS System Manager's Manual and/or the DCL Dictionary manuals are the usual first manuals to read or to skim, depending on what aspect(s) of OpenVMS you want to learn more about. The PDF documents can be searched.
Rich Hearn
Regular Advisor

Re: Changing prompt of OpenVMS system


Vineet,

Here's an example of what I use on my systems - it should give a good idea of how the HELP information can be used.

Rich