How to get file size in sort?



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

How to get file size in sort?

Postby pjagathis » Tue Jul 31, 2012 11:21 am

HI all,

Please anyone help me in getting filesize in syncsort ?

Thanks !
Thanks and Regards,
Jagathis P
pjagathis
 
Posts: 67
Joined: Wed May 04, 2011 5:04 pm
Location: Chennai
Has thanked: 0 time
Been thanked: 0 time

Re: How to get file size in sort?

 

Re: How to get file size in sort?

Postby BillyBoyo » Tue Jul 31, 2012 1:25 pm

What exactly do you mean?

Look up HISTOGRAM in the documentation. Does that help?
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 264 times

Re: How to get file size in sort?

Postby pjagathis » Tue Jul 31, 2012 2:06 pm

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?
Thanks and Regards,
Jagathis P
pjagathis
 
Posts: 67
Joined: Wed May 04, 2011 5:04 pm
Location: Chennai
Has thanked: 0 time
Been thanked: 0 time

Re: How to get file size in sort?

Postby BillyBoyo » Tue Jul 31, 2012 2:23 pm

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.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 264 times

Re: How to get file size in sort?

Postby pjagathis » Tue Jul 31, 2012 2:53 pm

HI Billy,

My output file is VB file.....
Thanks and Regards,
Jagathis P
pjagathis
 
Posts: 67
Joined: Wed May 04, 2011 5:04 pm
Location: Chennai
Has thanked: 0 time
Been thanked: 0 time

Re: How to get file size in sort?

Postby BillyBoyo » Tue Jul 31, 2012 4:26 pm

Super. Have you tried any of my suggestions?
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 264 times

Re: How to get file size in sort?

Postby Anuj Dhawan » Tue Jul 31, 2012 7:53 pm

Bill, It looks like your posts are not readable at TS's end.
Anuj
Anuj Dhawan
 
Posts: 274
Joined: Mon Feb 25, 2008 3:53 am
Location: Mumbai, India
Has thanked: 6 times
Been thanked: 4 times

Re: How to get file size in sort?

Postby NicC » Tue Jul 31, 2012 10:53 pm

My output file is VB file.....
is irrelevant. How about your input file's RECFM?
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 2690
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisys (almost)
Has thanked: 4 times
Been thanked: 105 times

Re: How to get file size in sort?

Postby Alissa Margulies » Fri Aug 03, 2012 12:37 am

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.
Alissa Margulies
Syncsort Mainframe Product Services
201-930-8260
zos_tech@syncsort.com
Alissa Margulies
Global moderator
 
Posts: 369
Joined: Tue Feb 26, 2008 11:15 pm
Location: USA
Has thanked: 1 time
Been thanked: 1 time

Re: How to get file size in sort?

Postby pjagathis » Thu Aug 16, 2012 9:54 am

Hi all,

Thanks to all for your help..! As of now, i am put a hold on this part.. I will do testing soon...
Thanks and Regards,
Jagathis P
pjagathis
 
Posts: 67
Joined: Wed May 04, 2011 5:04 pm
Location: Chennai
Has thanked: 0 time
Been thanked: 0 time

Next

Return to Syncsort/Synctool

 


  • Related topics
    Replies
    Views
    Last post