225 pts.
 File Size in CL/400
I need to access file size in CL/400. I can't use DSPFD TYPE(*ALL) with OUTPUT(*OUTFILE). Pls give the solution.

Software/Hardware used:
ASKED: January 21, 2008  1:05 PM
UPDATED: March 8, 2010  10:41 PM

Answer Wiki:
Please define "file size". Are you looking for the storage allocated, the number of records, or something else? In all likelihood the Retrieve Member Description RTVMBRD command documented <a href="http://publib.boulder.ibm.com/infocenter/systems/scope/i5os/topic/cl/rtvmbrd.htm">here</a> is what you're looking for, but I can't say for sure with the information provided. Bruce Vining <a href="http://www.brucevining.com/">http://www.brucevining.com/</a>
Last Wiki Answer Submitted:  January 21, 2008  7:44 pm  by  bvining   6,055 pts.
All Answer Wiki Contributors:  bvining   6,055 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

I can’t use DSPFD TYPE(*ALL) with OUTPUT(*OUTFILE).

That’s because the different “types” of information each require a different output file format. Try using TYPE(*MBR) along with FILEATR(*PF).

Tom

 108,280 pts.

 

If you’re looking for the actual size of the object, you’d be just as well off using DSPOBJD.

 5,670 pts.