DSPOBJD will give you the file size. <br><br>WP <p>Bill Paton<br><a href=mailto:wpaton@neptune400.co.uk>wpaton@neptune400.co.uk</a><br><a href=
You can also use the following cmd's within a CL pgm to retrieve a file's size:
RTVMBRD NBRCURRCD(&NOREC) will give you no. of records
RTVMBRD DTASPCSIZ(&SIZE) will give the data space size
RTVMBRD ACCPTHSIZ(&SIZE) will give the access path size
you can use DSPOBJD or DSPLIB command to see the size of the object if you want it from command line.
DSPLIB would give you all the objects in the library with the sizes.
if you are trying it from inside a CL, you can use a
RTVOBJD with SIZE(&VAR1)
SAVSIZE(&VAR2)
this woulg give you the size of the object.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.