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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Join multiple records using splice DFSORT/ICETOOL 5
Search our Forums:

Back to Top