- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- VMS Filenames and extensions
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
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
тАО06-08-2005 10:50 AM
тАО06-08-2005 10:50 AM
character?
e.g. $ rename afile.txt afile
If so, please provide required syntax,
Thanks,
Angel
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2005 11:22 AM
тАО06-08-2005 11:22 AM
Re: VMS Filenames and extensions
--Travis Craig
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2005 02:08 PM
тАО06-08-2005 02:08 PM
Re: VMS Filenames and extensions
would get you a file called afile. which is
as close as you get on ODS2.
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2005 03:20 PM
тАО06-08-2005 03:20 PM
Re: VMS Filenames and extensions
You can call it anything, but it will have a period.
for example. rename Sam.txt sam
you'll have sam.
There's no getting rid of the period.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2005 03:47 PM
тАО06-08-2005 03:47 PM
Re: VMS Filenames and extensions
the syntax of a file in VMS describes it (ignoring dir spec for this purpose) as
Where
However, the dot ( . ) and semicolon ( ; ) are just part of the formal syntax.
No way to get around that.
Various commands have various ways of completing any parts of the file syntax on a command line, but you WILL always deal with a complete syntax, which the OS will always use in any action, response, or display.
It _IS_ possible for name and/or version to be null-strings, but the version will ALWAYS be an integer between 1 and 32767
But,
WHAT is the background of your question? WHAT are you trying to achieve?
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2005 06:57 PM
тАО06-08-2005 06:57 PM
Re: VMS Filenames and extensions
welcome to vms forum :-)
you received full answers to your question. Just for curiosity, why you need blinding dot char?
Antonio Vigliotti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2005 10:13 PM
тАО06-08-2005 10:13 PM
Solution$ DEFINE afile afile.txt
now you have the name "afile" which will refer to your file. It's not persistent, and might not scale very well, but that wasn't specified in the problem description :-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2005 11:25 PM
тАО06-08-2005 11:25 PM
Re: VMS Filenames and extensions
$ t f !sure that's overdone
can b├Г┬й equivalent to
$ type/page=save=5 dev:[dir1.dir2.dir3.dir4]filnam.ext;v
And there are some DCL commands which handle a special extension as default.
So e.g. TYPE AFILE acts as TYPE AFILE.LIS and @AFILE acts as @AFILE.COM
Cheer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2005 11:33 PM
тАО06-08-2005 11:33 PM
Re: VMS Filenames and extensions
My compliments, you have out-thought many of us :)
I am cursing myself for not having thought on the same lines as you.
At least on a daily basis i used the "define" command 10-15 times :)
regards
Mobeen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2005 05:30 AM
тАО06-09-2005 05:30 AM
Re: VMS Filenames and extensions
So the original goal (using OSD-5) is to transfer the file to a NFS mounted device
shared by UNIX which does not include the
dot using rename command to eliminate it. (the dot)
I'm not sure if the logical assignment will work, but I give it a shot.
Any other great ideas/methods for ODS-5 mounted volumes?