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 / sachin borase

//JOBNAME
//S1 EXEC PGM=SORT
//SORTNJF1 DD DSN=FILE1
//SORTNJF2 DD DSN=FILE2
//SORTOUT DD DSN=O/P1
//SORTOF1 DD DSN =O/P2
//SYSIN DD *
JOIN KEYS = 01,FIELDS=(1,10,CH)
JOIN KEYS = 02,FIELDS=(1,11,CH)
REFORMAT FIELDS = (F1:1,80,F2:1,80)
SORT FIELDS = COPY
JOIN UNPAIRED,F1,F2

/*
IF YOU WANT EXACT SYSNTAX THEN TELL ME I WILL PROVIDE YOU.

Is This Answer Correct ?    62 Yes 29 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1075


How can an in-stream dataset be terminated?

1314


what are the types of abends that occur on job failure? And explain the possible causes of these

1580


What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

1074


Can I share my data with other jobs? How?

1050


What does a disposition of (MOD,DELETE,DELETE) mean ?

1098


What are hierarchy levels in jcl?

1490


Explain about LMQUERY�give a dialog information about a data set

1409


Is it possible to left uncode disp? If yes, how?

1149


I need exexution process for JCL programs

2253


How can values be passed from the job stream to an executable program?

1398


What do you know about jcl?

1107


What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?

1102


What is the purpose of dd?

1211


Mention the types of job control statements?

1135