Page 1 of 2

How to get file size in sort?

PostPosted: Tue Jul 31, 2012 11:21 am
by pjagathis
HI all,

Please anyone help me in getting filesize in syncsort ?

Thanks !

Re: How to get file size in sort?

PostPosted: Tue Jul 31, 2012 1:25 pm
by BillyBoyo
What exactly do you mean?

Look up HISTOGRAM in the documentation. Does that help?

Re: How to get file size in sort?

PostPosted: Tue Jul 31, 2012 2:06 pm
by pjagathis
HI BillyBoyo,

I want to get the size of the sequencial file in bytes?

Shall we calculate by multiply no. of the records with LRECL?

Re: How to get file size in sort?

PostPosted: Tue Jul 31, 2012 2:23 pm
by BillyBoyo
Did you look at Syncsort's HISTOGRAM?

If VB, records * lrecl won't work. If FB, will. What about the output from your sort step? ISPF? If you know the number of tracks, and the track-size, you'll get pretty close. SUM on the record-length in the RDW. Lots of ways.

Re: How to get file size in sort?

PostPosted: Tue Jul 31, 2012 2:53 pm
by pjagathis
HI Billy,

My output file is VB file.....

Re: How to get file size in sort?

PostPosted: Tue Jul 31, 2012 4:26 pm
by BillyBoyo
Super. Have you tried any of my suggestions?

Re: How to get file size in sort?

PostPosted: Tue Jul 31, 2012 7:53 pm
by Anuj Dhawan
Bill, It looks like your posts are not readable at TS's end.

Re: How to get file size in sort?

PostPosted: Tue Jul 31, 2012 10:53 pm
by NicC
My output file is VB file.....
is irrelevant. How about your input file's RECFM?

Re: How to get file size in sort?

PostPosted: Fri Aug 03, 2012 12:37 am
by Alissa Margulies
Please refer to the WER246I message. This message posts the number of bytes of input data sorted or copied. This number reflects input data set, E15, JOIN, INLCUDE/OMIT, and INREC processing. Please refer to the Messages Chapter in the Syncsort MFX for z/OS Programmer's Guide for additional considerations regarding the WER246I message.

Re: How to get file size in sort?

PostPosted: Thu Aug 16, 2012 9:54 am
by pjagathis
Hi all,

Thanks to all for your help..! As of now, i am put a hold on this part.. I will do testing soon...