Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Wrete a JCL to compare two files and mached records move to
onc file & un mached rows wants to another file?

Answer Posted / kavya

It can be done using icetool.

//STEP001 EXEC PGM=ICETOOL
//TOOLMSG DD SYSOUT=*
//DFSMSG DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=INPUT.FILE1,
// DISP=SHR
// DD DSN=INPUT.FILE2,
// DISP=SHR
//NODUPES DD DSN=OUTPUT.NODUP,
// DISP=SHR
//DUPES DD DSN=OUTPUT.DUP,
// DISP=SHR
//TOOLIN DD *
SELECT FROM(SORTIN) TO(NODUPES) -
ON(x,y,CH) NODUPS
SELECT FROM(SORTIN) TO(DUPES) -
ON(x,y,CH) ALLDUPS

Is This Answer Correct ?    91 Yes 27 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is SOC4 error?

1160


Is there any command to check wether the ps file is in sorted order?

2830


Explain the hierarchy levels in jcl?

1632


Explain the function of job statement in jcl?

1130


What is the function of the dd dcb keyword?

1274


What is the function of job statement in jcl?

1036


I need exexution process for JCL programs

2228


What is one line to pass PARM from JCL to COBOL?

4903


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

1059


What is the format of comment statement?

1124


What is NOTCAT ?

1278


What statement can be used to send data to another mvs jes3 node?

1574


What do you understand by jcl?

995


How can a stopped job be started again?

1140


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

1169