DSPFD will also show the number of bytes allocated for the file...
- sjl


"Jim Franz" wrote in message news:mailman.7683.1333726366.14575.midrange-l@xxxxxxxxxxxx...

as long as the file attribute Allocate Storage is not *YES (and *NO is
default)
no problem.
Your dspobjd or wrkobj will show you the file size in bytes.
There is a minimum size for every file - it has to keep info on file you
don't see.
jim franz


----- Original Message ----- From: "Jerry C. Adams" <midrange@xxxxxxxx>
To: "Midrange-L" <midrange-l@xxxxxxxxxxxx>
Sent: Friday, April 06, 2012 11:15 AM
Subject: Disk Space


I have a file with a record capacity of 3,500,000 records in which only 233
are actually used. On a S/34/36 disk data management actually had to carve
out space to hold all 3.5M records; i.e., the space was pre-allocated and
couldn't be used by anything else.



Is this the case on the System i? Would chopping down the record capacity
to, say, 1K records be advisable or irrelevant as far as disk space usage is
concerned?



Jerry C. Adams

IBM i Programmer/Analyst

Don't quote what he says. Say what he means! - campaign aide to Barry
Goldwater (1964)

--

A&K Wholesale

Murfreesboro, TN

615-867-5070



--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].