- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Bug in DIRECTORY cmd on 8.2?
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
Discussions
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
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
06-22-2006 06:55 PM
06-22-2006 06:55 PM
Bug in DIRECTORY cmd on 8.2?
I'm wondering about the DIR cmd in 8.2 for his behaviour with the /EXCLUDE Parameter:
VMS7.3-2:
$ dir/wid=file=70 patches:.pcsi* /excl=*.PCSI-DCX_AXPEXE
DEC-AXPVMS-DNVOSIECO02-V0703-2-4.PCSI;1
....
All is fine !!!
But on VMS 8.2:
$ dir/wid=file=70 patches:.pcsi* /excl=*.PCSI-DCX_AXPEXE
%CLI-F-INVQUAVAL, value '*.PCSI-DCX_AXPEXE' invalid for /EXCLUDE qualifier
Any ideas!
Bye Kuddel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2006 07:19 PM
06-22-2006 07:19 PM
Re: Bug in DIRECTORY cmd on 8.2?
in a V8.2 system with all rating 1 patches installed:
$ dir/wid=file=70 patches:.pcsi* /excl=*.PCSI*
%DIRECT-W-NOFILES, no files found
Is DIR a foreign command?
regards Kalle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2006 10:11 PM
06-22-2006 10:11 PM
Re: Bug in DIRECTORY cmd on 8.2?
All seems well to me.
On OpenVMS Alpha V8.2:
$ directory/wid=file=70 *.txt*
Directory SID$COMMON:[WORK]
EPC_ERROR.TXT;1
PRODHIST.TXT;1
QJPI.TXT;1
SHOWPROCALL.TXT;2
TEST.TXT_TEST;1
Total of 5 files.
$ directory/wid=file=70 *.txt*/excl=*.txt_test
Directory SID$COMMON:[WORK]
EPC_ERROR.TXT;1
PRODHIST.TXT;1
QJPI.TXT;1
SHOWPROCALL.TXT;2
Total of 4 files.
System has latest patches.
Regards,
Kris (aka Qkcl)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-23-2006 12:42 AM
06-23-2006 12:42 AM
Re: Bug in DIRECTORY cmd on 8.2?
But now all seems to be ok.
Don't know why this was gone wrong!
Bye Kuddel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2006 09:06 PM
07-16-2006 09:06 PM
Re: Bug in DIRECTORY cmd on 8.2?
The logical name PATCHES included a remote node and device specification:
SYSTEM> sh log patches
"PATCHES" = "node"SYSTEM"::disk:[patches.v82]" (LNM$SYSTEM_TABLE)
Also a SET DEF PATCHES command preceeded the DIR command.
It is invalid to specify a device name in the /EXCLUDE file specification (see $ HELP DIR/EXCL) and the expanded EXCLUDE file spec is therefore invalid, although the %CLI-F-INVQUAVAL error message only shows the un-expanded file name string.
Another 'mystery' solved ;-)
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2006 09:57 AM
07-17-2006 09:57 AM
Re: Bug in DIRECTORY cmd on 8.2?
I understand your message, and at the same time I contend that this is in fact incorrect behavior on the part of the DIRECTORY utility. The user provided valid input according to the documentation. If it is invalid to use the /EXCLUDE qualifier when the current default directory is set to a DECnet remote directory, then an appropriate error should be generated, spelling out this fact, and the documentation corrected. Otherwise, I believe that the DIRECTORY utility should handle this case without any complaint.
Robert
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-17-2006 11:16 AM
07-17-2006 11:16 AM
Re: Bug in DIRECTORY cmd on 8.2?
>If it is invalid to use the /EXCLUDE
>qualifier when the current default
>directory is set to a DECnet remote
>directory, then an appropriate error
>should be generated, spelling out this
>fact, and the documentation corrected.
Just because SET DEFAULT accepts a node specification, doesn't mean it's supported (it isn't) and doesn't mean it will always work as you expect (it won''t). The syntax for SET DEFAULT is documented as:
"SET DEFAULT [device-name[:]][directory-spec] "
There is no node name allowed.
Normally OpenVMS documentation only states what IS supported, but in this case there's an exception. see "SET DEFAULT" in the DCL Dictionary (boldface highlighted box)
"Note
The SET DEFAULT command will accept a node name with the device name (that is, nodename::devicename). However, the results of operations using a default with a node name are unpredictable. Some utilities and applications do not allow a node name to be specified in a file specification and will fail if the default file specification contains a node name."
Since utilities are "entitled" to assume only supported environments, the DIRECTORY command need not diagnose this specific circumstance. Although it would be nice if all OpenVMS utilities could report even more accurate and concise error messages, there are far too many potential unsupported configurations to detect and report them all. It's the economics of engineering. [at least in this case the CLI calls out /EXCLUDE as being the problem, what would some other OSes say in similar circumstances? ;-]
It would perhaps be better to have SET HOST reject node specifications, but OpenVMS engineering's fanatical adherance to upwards compatibility excludes that change, even though the usage is unsupported.
Bottom line is, if you SET DEFAULT to another node, and it does what you want, that's great, but if it doesn't, please don't complain!