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
what is SOC4 error?
Is there any command to check wether the ps file is in sorted order?
Explain the hierarchy levels in jcl?
Explain the function of job statement in jcl?
What is the function of the dd dcb keyword?
What is the function of job statement in jcl?
I need exexution process for JCL programs
What is one line to pass PARM from JCL to COBOL?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
What is the format of comment statement?
What is NOTCAT ?
What statement can be used to send data to another mvs jes3 node?
What do you understand by jcl?
How can a stopped job be started again?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?