finding the filesize?



Support for NetApp SyncSort for z/OS, Visual SyncSort, SYNCINIT, SYNCLIST and SYNCTOOL

finding the filesize?

Postby ranga_subham » Mon Jun 07, 2010 4:42 pm

Hi,

How do I find the size of file in no. of bytes?

I used a syncsort job on a file and it shows filesize in sysout.

WER246I  FILESIZE 280,720 BYTES


Is there any other way to find the size of file / any formula for calculation of size?

Thanks.
ranga_subham
 
Posts: 279
Joined: Fri Jul 18, 2008 7:46 pm
Has thanked: 0 time
Been thanked: 1 time

Re: finding the filesize?

 

Re: finding the filesize?

Postby Robert Sample » Mon Jun 07, 2010 5:10 pm

Find the number of blocks used by the file. Multiply the number of blocks times the bytes per block.
Robert Sample
Global moderator
 
Posts: 3367
Joined: Sat Dec 19, 2009 8:32 pm
Location: East Dubuque, Illinois
Has thanked: 1 time
Been thanked: 222 times

Re: finding the filesize?

Postby ranga_subham » Mon Jun 07, 2010 5:22 pm

Ok......sorry for the confusion............ :?

I tried to copy a file to SYSOUT DUMMY. Though the job ended successfully I don't see any FILESIZE appearing in the sysout.
I don't know why and how our production does show this FILESIZE info in it's SORT step !!!

Thanks.
ranga_subham
 
Posts: 279
Joined: Fri Jul 18, 2008 7:46 pm
Has thanked: 0 time
Been thanked: 1 time

Re: finding the filesize?

Postby dick scherrer » Mon Jun 07, 2010 10:21 pm

Hello,

Every sort process i've ever run shows the size of the data it "worked on". . .

I don't see any FILESIZE appearing in the sysout.
Post all of the informational output from this step includingall of the messages and message ids. . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: finding the filesize?

Postby ranga_subham » Wed Jun 09, 2010 4:37 pm

Ok.......after trail and error attempts with my SORT job I am getting the FILESIZE appearing in the SYSOUT.

Thank you all........... :)
ranga_subham
 
Posts: 279
Joined: Fri Jul 18, 2008 7:46 pm
Has thanked: 0 time
Been thanked: 1 time


Return to Syncsort/Synctool

 


  • Related topics
    Replies
    Views
    Last post