AM HAVING A FILE WHICH CONTAIN 12 DATS OUT OF WHICH 4 ARE
DUPLICATES HOW TO REMOVE THE DUPLICATE FILES IN JCL? CAN I
GET THE PROGRAM FOR THIS

Answer Posted / girish kumar

Yes, Sort will do it for u.
//........Pgm=sort
........
.........
.........
//sysin DD *
sort fields=copy
SUM FIELDS=NONE
/*

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to submit jcl through a cobol program?

777


What is the function of dd name parameter with a 2 part structure; audit.report?

795


How to override loadlib?

1522


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

925


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5167






have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file

1049


How jcl is used for testing batch programs?

824


How is a type of file defined in the jcl that executes the cobol program?

817


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

731


I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.

814


when does a dataset go uncataloged?

935


Define concatenating?

754


How to pass the parameter in parm using linkage section ? (syntax)?

747


What is timing concept in mainframe?

1772


whats the diff bw the evaluate also and and?

1946