- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - OpenVMS
- >
- Limit in DIR filesize....
-
- Forums
-
Blogs
- Alliances
- Around the Storage Block
- Behind the scenes @ Labs
- HPE Careers
- HPE Storage Tech Insiders
- Infrastructure Insights
- Inspiring Progress
- Internet of Things (IoT)
- My Learning Certification
- OEM Solutions
- Servers: The Right Compute
- Shifting to Software-Defined
- Telecom IQ
- Transforming IT
- Infrastructure Solutions German
- L’Avenir de l’IT
- IT e Trasformazione Digitale
- Enterprise Topics
- ИТ для нового стиля бизнеса
- Blogs
-
Quick Links
- Community
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Contact
- Email us
- Tell us what you think
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Enterprise.nxt
- Marketplace
- Aruba Airheads Community
-
Forums
-
Blogs
-
InformationEnglish
- 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
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-09-2003 06:48 PM
12-09-2003 06:48 PM
If a file exceeds 9999999 blocks, DIR cannot show the size properly:
BPS2004A> dir dka200:[backup]/siz
Directory DKA200:[BACKUP]
BCK100.BCK;4 6459831
Total of 1 file, 6459831 blocks.
BPS2004A> dir dka300:[backup]/siz
Directory DKA300:[BACKUP]
BCK200.BCK;6 *******
Total of 1 file, 14250159 blocks.
BPS2004A>
Is this a bug or an (undocumented) feature?
(Dir/full has no porblem. Just dir/siz. dir/siz=all has the same problem for both used and allocated sizes:
BPS2004A> dir dka300:[backup]/siz=all
Directory DKA300:[BACKUP]
BCK200.BCK;6 *******/*******
Total of 1 file, 14250159/14250159 blocks.
OpenVMS Developer & System Manager
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-09-2003 07:01 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-09-2003 07:44 PM
12-09-2003 07:44 PM
Re: Limit in DIR filesize....
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-10-2003 02:37 AM
12-10-2003 02:37 AM
Re: Limit in DIR filesize....
this is a way old issue (I've encountered that first about 10 years ago). Given the "****" I always suspected dir might be written in Fortran, which behaves exactly like that in case you try to format a number which is too large ;-)
Greetings, Martin
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-10-2003 02:44 AM
12-10-2003 02:44 AM
Re: Limit in DIR filesize....
****
$ write sys$output f$fao ("!4UL", 1234)
1234
$
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-10-2003 04:06 AM
12-10-2003 04:06 AM
Re: Limit in DIR filesize....
Purely Personal Opinion
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-10-2003 02:18 PM
12-10-2003 02:18 PM
Re: Limit in DIR filesize....
you can also specify the width there as well.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-10-2003 03:06 PM
12-10-2003 03:06 PM
Re: Limit in DIR filesize....
$ SET PROCESS/UNIT=BYTES
will cause DIRECTORY (and most other places where file sizes are shown) to display file sizes as bytes, KB, MB, GB, TB, or PB (as appropriate).
Your example file would display as:
BPS2004A> dir dka300:[backup]/siz=all
Directory DKA300:[BACKUP]
BCK200.BCK;6 6.79GB/6.79GB
Total of 1 file, 6.79GB/6.79GB
$ SET PROCESS/UNIT=BLOCKS (V7.3-1 behaviour) is the default.
As mentioned earlier,
DIRECTORY/WIDTH=(field:width,field:width...)
can be used for fine grained control of the directory display. It's been around since about V5.0
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
12-10-2003 07:05 PM
12-10-2003 07:05 PM
Re: Limit in DIR filesize....
I _should_ have read the manuals. But it's a long time ago that I've seen files this big, so I just ran into it and wondered about it.
Since files are getting bigger and biggger (thanks to databases...) it would be a nice consideration to enlarge this default output to 8 or even 10 positions. (Guy, keep this in mind for 8.2....)
OpenVMS Developer & System Manager
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2019 Hewlett Packard Enterprise Development LP