- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Limit in DIR filesize....
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
тАО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
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-09-2003 07:01 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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
- Mute
- Subscribe to RSS Feed
- Permalink
- 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