IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Removing unWanted records using syncsort


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nivethitha_kumar

New User


Joined: 24 Jan 2007
Posts: 11
Location: chennai

PostPosted: Sat Mar 31, 2007 6:03 pm
Reply with quote

I have an inpput file from which i need to delete some records based n certain conditions.

Input file
AAAAAA11111BBBBBBZZ
CCCCC222222DDDDDZZ
EEEEEE333333FFFFFFFFYY

my first condition is that if '11111' and 'zz' are present i should remove the records.
the next condition is if '22222' and 'zz' are found i should eliminate them too.

so my output should only have
EEEEEE333333FFFFFFFFYY


how do i achieve this using syncsort.?
Back to top
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Sat Mar 31, 2007 6:17 pm
Reply with quote

A simple include/omit condition, standard to any sort.
Grab a manual and look at some examples.
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 691
Location: Earth

PostPosted: Sat Mar 31, 2007 6:19 pm
Reply with quote

Read the manual, or search in forums.. This sounds to be a basic question.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Format data from multiple records usi... SYNCSORT 4
No new posts Sort SMF records? SYNCSORT 6
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts Identify and write records containing... SYNCSORT 11
No new posts Filter records where condition is in ... SYNCSORT 6
Search our Forums:


Back to Top