How to get file size?

Posted on 2011-05-02
Medium Priority
Last Modified: 2012-05-11
If I know the name of a file on an as400 how do I tell the size of this file in bytes/kilobytes/etc?
Question by:jdouthit
  • 2
LVL 18

Accepted Solution

Dave Ford earned 2000 total points
ID: 35508128

Probably the easiest way is to use the DspFd command from the command-line.


dspfd YourLib/YourTable

At the bottom of the output, you'll see the size of the file in bytes.

Open in new window

LVL 18

Expert Comment

by:Dave Ford
ID: 35508156
Alternately, if you prefer to use the GUI (System i Navigator), you can expand the Database tab for the system you interested in. Then navigate to the target schema and table. Right-click on the table and select "Description". On the resulting screen, you'll see the file-size.


Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Often, the users face difficulty in accessing Outlook 2016 PST files on Windows 10 computer. One of the reasons behind it is the improper functioning of MS Outlook when the user tries to open it. MS Outlook suddenly stops working, or it will not op…
"Day by day nothing changes but when u look back, everything is different". That quote precisely describes today’s digital era. For example, you may not have noticed the change, but Voice Search is now all around us.
Integration Management Part 2
Loops Section Overview
Suggested Courses

569 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question