Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
comapring datasets two more keys using ICETOOL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
senmainframe
Currently Banned

New User


Joined: 09 Oct 2007
Posts: 30
Location: USA

PostPosted: Sat Oct 27, 2007 1:14 am    Post subject: comapring datasets two more keys using ICETOOL
Reply with quote

In the following ICETOOL JCL, how I can mention more than one key fields. Currently I mentioned only one key field (2,6,CH). I need to compare two more fields with this (70,2,CH) & (52,2,CH)

Code:

//S1    EXEC  PGM=ICETOOL
//TOOLMSG DD SYSOUT=*                                           
//DFSMSG DD SYSOUT=*                                             
//CON DD DSN=CAA1035.FSLPLCRD.DELTA1,DISP=SHR                   
//    DD DSN=DCIA.B.BDAADBLD.AGTLICRC,DISP=SHR                   
//MATCH DD DSN=CAA1035.FSLPLCRD.DELTA1.MATCH,DISP=SHR           
//NOMATCH DD DSN=CAA1035.FSLPLCRD.DELTA1.NONMATCH,DISP=SHR       
//TOOLIN DD *                                                   
SELECT FROM(CON) TO(MATCH) ON(2,6,CH) ALLDUPS DISCARD(NOMATCH)   
/*
Back to top
View user's profile Send private message

Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Sat Oct 27, 2007 3:21 am    Post subject:
Reply with quote

Code:

SELECT FROM(CON) TO(MATCH) ON(2,6,CH) ON(70,2,CH) ON(52,2,CH) -
  ALLDUPS DISCARD(NOMATCH) 


The syntax for the DFSORT/ICETOOL SELECT operator is completely described with lots of examples at:

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ICE1CA20/6.11?DT=20060615185603

All of the DFSORT books are available online at:

www.ibm.com/servers/storage/support/software/sort/mvs/srtmpub.html
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts ICETOOL - RESIZE DYNAMICALLY kranthikumarb DFSORT/ICETOOL 0 Tue Nov 21, 2017 5:30 pm
No new posts Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 5 Fri Sep 22, 2017 4:56 pm
No new posts Match two files using multiple keys a... santoshks1987 SYNCSORT 11 Fri Aug 18, 2017 10:50 am
No new posts Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us