- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: DCL script "unrecognized command verb"
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
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
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
тАО05-18-2005 02:14 AM
тАО05-18-2005 02:14 AM
I tried to create a command file to check some parameters on node. There is a line where I try to ping the a node. When it runs first time it works, but second time I get the message - using the "set verify":
$ tcpip ping Duna2
%DCL-W-IVVERB, unrecognized command verb - check validity and spelling
\V5\
The node name тАУ Duna2 in this case тАУ is read from a text file. The command line is that:
$ TCPIP ping 'node'
But the text file should be OK, because I tried in a similar script, but without checking other parameters, and it works. So no other caracters are in the variable, just the node name.
Any id
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2005 02:22 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2005 02:33 AM
тАО05-18-2005 02:33 AM
Re: DCL script "unrecognized command verb"
Thanks,
Attila
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2005 08:28 PM
тАО05-18-2005 08:28 PM
Re: DCL script "unrecognized command verb"
Why are you defined symbol tcpip using version?
You doesn't need define tcpip symbol to use tcpip.
If you define a symbol similar as:
tcpip="tcpip V5"
On produces the error message.
I think that you must no define symbol tcpip
Saludos.
Daniel.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-18-2005 09:24 PM
тАО05-18-2005 09:24 PM
Re: DCL script "unrecognized command verb"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2005 02:58 AM
тАО05-19-2005 02:58 AM
Re: DCL script "unrecognized command verb"
As previously said, your command file is defining a tcpip symbol which is called the 2nd time instead of the tcpip commnad. It's usually not a good practice to define symbols which interfere with command names. It would be better to use a symbol like tcpipv with no shorter alias, or some other name like s_tcpip (for symbol tcpip to distinguish the symbol from the command). I would also recommend changing that tcpip.com file to a different name. This custom tcpip.com file also interferes with normal TCPIP commands since it is getting used at least sometimes instead of the TCPIP executable.
Lawrence
Lawrence
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-19-2005 05:10 AM
тАО05-19-2005 05:10 AM
Re: DCL script "unrecognized command verb"
Ofcourse the others are right about the symbol with the same name as a command.
However,
_IF_ you have a command replaced by a symbol, where it is troublesome to correct that,
_OR_
if you deliberately redefine a command (eg, to give it some default parameters, $ del*ete == "delete/confirm/log" comes to mind easily), and, for some reason, you now need to execute the _COMMAND_ instead of the value specified by the symbol,
_THEN_
you invoke the command by extending the command longer than the unique (usually 4) characters, using as extend chars something that makes it different from the (possibly abbreviated) symbol name.
Previous example: DELETEE bypasses the symbol, and executes the command.
(my personal favorite char for this = "\", the backslash).
In your case, _I_ would have used
$ TCPIP\ PING Duna2
Mind, however, that this trick ONLY works for command _SYMBOLS_, _NOT_ for commands redefined with $ SET COMMAND
HTH,
Proost.
Have one on me.
jpe