Given a input file with duplicates how to remove the
duplicate records from the file using JCL?

Answer Posted / alan at accenture

the existing record of present file and the duplicate
record of previous file wnen sort both files, if both are
duplicated records both must be removed and there is no
existing record in the file. Got it? thanksalan

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the difference between jcl and jes?

1048


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

1748


What is jcl in mainframe?

688


What is the significance of addrspc parameter in the exec statement?

617


What is multithreading in jcl?

938






What do you understand by the term notcat 2 – gs?

751


What do you understand by the term job time – out and how can you overcome that?

597


what are JCLLIB and STEPLIB in JCL?

671


How can unused space allocation be returned to the system when a dataset is closed?

806


Can we call instream to catalog and catalog to instream?

681


What happens if both JOBLIB & STEPLIB is specified ?

606


Matching Logic in Jcl not in cobol.Could any one please answer this question

3669


How does jcl act on code(if you take a cobol program)?

705


Are there any set of rules for the names of the steps used in a job? What are they?

612


My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.

1982