Another SMF SYNCSORT problem



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

Another SMF SYNCSORT problem

Postby JohnH » Sat Oct 13, 2012 1:26 am

I want to select the type 70, subtype 1 records from SMF for reporting. Unfortunately, when SMFDUMP creates the dataset, he adds a 14 byte header and trailer and the subtype is in byte 16. When I test for the byte in 16, SYNCSORT blows up telling me that I am testing beyond the end of the record. Is there a way I can eliminate the header and trailer via SYNCSORT ? Can I use INREC to extend the short records with binary zeros? How can I do this? Better suggestions?

Code so far:
   SORT FIELDS=(06,01,BI,A)                                           
   INCLUDE COND=(06,01,BI,EQ,X'46',AND,23,02,BI,EQ,X'0001')           
   OUTFIL FNAMES=SORTRPT,VTOF,BUILD=(02:11,4,DT1,EDIT=(TTTT/TT/TT),   
     15:07,4,TM1,EDIT=(TT:TT:TT),                                     
     25:225,4,BI)                                                     
JohnH
 
Posts: 8
Joined: Wed May 27, 2009 7:22 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Another SMF SYNCSORT problem

Postby dick scherrer » Sat Oct 13, 2012 1:33 am

Hello,

I'm not near the doc just now, but look for something like VLSHRT. There are possibly some topics in the Syncsort part of the forum about how to handle short records.

IIRC the way is not the same between DFSORT and Syncsort, but i wouldn't bet on it. If this is still an issue, post back and i'll try to look deeper tonight or tomorrow.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Another SMF SYNCSORT problem

Postby JohnH » Mon Oct 15, 2012 4:45 pm

I used the PARM='VLTESTI=1' and it worked perfectly.

Thanks so much, I never would have fond this on my own.
JohnH
 
Posts: 8
Joined: Wed May 27, 2009 7:22 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Another SMF SYNCSORT problem

Postby dick scherrer » Tue Oct 16, 2012 8:39 am

Good to hear it is working - thanks for letting us know :)

Sorry that i was only "close" with the syntax. . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to Syncsort/Synctool

 


  • Related topics
    Replies
    Views
    Last post