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

Want to eliminate duplicates from the source dataset


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
reddy307
Currently Banned

New User


Joined: 09 Jun 2006
Posts: 18

PostPosted: Fri May 04, 2007 1:07 pm
Reply with quote

Hi All,

I want to eliminate duplicates from dataset but i dont want to keep one record from duplicate records

for example

INPUT DATASET

11111111
11111111
11111111
22222222
22222222
22222222
33333333

AFTER ELIMINATION i want output like

11111111
22222222
33333333


How can we do it by using ICETOOL.

Thanks in advance

Reddy
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 691
Location: Earth

PostPosted: Fri May 04, 2007 1:11 pm
Reply with quote

Have you searched before asking this on forum?
If not search on keywords 'SUM FIELDS=NONE'
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Fri May 04, 2007 1:11 pm
Reply with quote

Topic discussed many times in DFSORT forum. Search there.
Back to top
View user's profile Send private message
reddy307
Currently Banned

New User


Joined: 09 Jun 2006
Posts: 18

PostPosted: Fri May 04, 2007 1:44 pm
Reply with quote

Hi All,
I want to eliminate duplicate recoreds from dataset (ps file). But i want one occurence of duplicate records. please see the following example


I want to do it by using ICETOOL
INPUT FILE

111111111
111111111
222222222
222222222
222222222
333333333


output file

111111111
222222222
333333333

thanks in advance

Warning: Repost: ibmmainframes.com/viewtopic.php?p=77544
Back to top
View user's profile Send private message
GlobalGyan

New User


Joined: 31 Jan 2006
Posts: 28

PostPosted: Fri May 04, 2007 2:09 pm
Reply with quote

ibmmainframes.com/viewtopic.php?t=20493

-GG
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 691
Location: Earth

PostPosted: Fri May 04, 2007 2:18 pm
Reply with quote

Reddy,
Your topic was moved to FAQ forum. You should post your question only once. See the link below to track your previous post.
http://www.ibmmainframes.com/viewtopic.php?t=2059
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Allocated cylinders of a dataset DB2 12
No new posts Sort First/last record of a subset th... DFSORT/ICETOOL 7
No new posts Reading dataset in Python - New Line ... All Other Mainframe Topics 22
Search our Forums:

Back to Top