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

Answer Posted / rookie

if u are referring to duplicates...than

//SORTXSUM DD DSN=....
//SYSIN DD *
SORT FILEDS=COPY,
SUM FIELDS=NONE,XSUM

Is This Answer Correct ?    31 Yes 24 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what happens in execution stage in job processing?

837


Explain the purpose of the dd keylen parameter?

885


what are the statements that are not valid to be included in an include statement?

1086


Can I share my data with other jobs? How?

859


Why block size is multiple of lrecl in jcl?

1131


What is the function of the steplib dd statement?

927


Is it possible to define dd statements as you want?

863


How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?

917


Explain the function of job statement in jcl?

868


What is the function of job statement in jcl?

835


In job processing, what happens in execution stage?

898


Why include statement is used in a jcl?

896


What are the rules employed while naming the steps in a job?

917


List the various advantages of using jcl language?

1130


What are the parameters that are used in creating a gdg?

950