MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SYNCSORT -

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
prgaj1
Beginner


Joined: 01 Jul 2003
Posts: 6
Topics: 5
Location: Pennsylvania, USA

PostPosted: Fri Jul 11, 2008 7:07 am    Post subject: SYNCSORT - Reply with quote

Hi,
I have a file which contain data for seven years. Yearly I change my sort parameter to only get the last two years data. I was wondering if I could use a DATE parameter in SYNCSORT to prevent remembering to change the parameters.

Currently the Sort Parameter look as follow:
OMIT COND=(06,02,CH,EQ,C'00',OR,
06,02,CH,EQ,C'06',OR,
06,02,CH,EQ,C'05',OR,
06,02,CH,EQ,C'04',OR,
06,02,CH,EQ,C'03',OR,
06,02,CH,EQ,C'02',OR,
06,02,CH,EQ,C'01')

I was thinking of adding current date2
SORT FIELDS=COPY
OUTREC FIELDS=(1,68,DATE2)

Then compare the dates
SORT FIELDS=COPY
OMIT COND=(06,02,Y2T,GE,71,02,Y2T)
Not sure if this is correct and I cannot find a syncsort manually
Any suggestions...
Back to top
View user's profile Send private message
vkphani
Intermediate


Joined: 05 Sep 2003
Posts: 483
Topics: 48

PostPosted: Mon Jul 14, 2008 7:41 am    Post subject: Reply with quote

Why don't you test what you have given? You might not get solutions with SYNCSORT.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group