- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Earliest ver supporting DIRECTORY/SIZE=UNITS=B...
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-22-2006 01:43 AM
тАО06-22-2006 01:43 AM
Can someone please provide this info for me?
I have a VB FTP app that needs to retrieve the filesize in bytes from many different VMS versions.
Thanks,
Jon
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2006 01:52 AM
тАО06-22-2006 01:52 AM
SolutionAlpha VMS V7.3-2 see http://h71000.www7.hp.com/doc/732FINAL/aa-rv8xa-te/aa-rv8xa-te.PDF - section 2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2006 01:58 AM
тАО06-22-2006 01:58 AM
Re: Earliest ver supporting DIRECTORY/SIZE=UNITS=BYTES
Not sure what you're trying to do, but check out the vmsfaq http://h71000.www7.hp.com/faq/vmsfaq.pdf
for additional information. You might want to consider just accepting the value in blocks and converting it into bytes (1 block = 512 bytes) if you really need to. Then there's used space vs. allocated (cluster size affect) and of course CD media. Again faq is a good read.
John.
PS. Welcome to the OpenVMS forum!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2006 02:36 AM
тАО06-22-2006 02:36 AM
Re: Earliest ver supporting DIRECTORY/SIZE=UNITS=BYTES
The links are very helpful.
My app was designed to FTP files periodically from Unix servers. Because the files are always the same name (they get ovewritten daily) I was comparing file size to see if the file is needed. Blocks is not really specific enough as many of these files are really close in size. My best bet is just to ignore the size and download it anyway, that way nothing will be missed.
Tahnks again for your help.
Regards,
Jon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2006 03:02 AM
тАО06-22-2006 03:02 AM
Re: Earliest ver supporting DIRECTORY/SIZE=UNITS=BYTES
size? For example, Wget's "-N" option, as I
recall, tries to look at both date/time and
size (when it can get a reliable size).
From "wget -h":
-N, --timestamping
don't re-retrieve files unless newer than local.
Besides, UNITS=BYTES will only be converting
blocks to (K/M/G) bytes, so you still won't
be getting a byte-accurate size for a file
that way. VMS does not maintain
byte-accurate file sizes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-22-2006 05:18 AM
тАО06-22-2006 05:18 AM
Re: Earliest ver supporting DIRECTORY/SIZE=UNITS=BYTES
I didn't know that it was only going to convert to the block's byte size... kinda useless, it seems.
Anyway, reconfiguring to use date/time would be too much programming, so I decided to let it download the files (there are at most 20 and not very large), and later in the routine read the file to compare to existing files and save it if necessary. It only added a few seconds to the process and works just fine.
Thanks for the info,
Jon