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

Answers were Sorted based on User's Feedback



AM HAVING A FILE WHICH CONTAIN 12 DATS OUT OF WHICH 4 ARE DUPLICATES HOW TO REMOVE THE DUPLICATE F..

Answer / 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

AM HAVING A FILE WHICH CONTAIN 12 DATS OUT OF WHICH 4 ARE DUPLICATES HOW TO REMOVE THE DUPLICATE F..

Answer / ksingla.vikas

A Sort program will do that for you. Just write
sumfiled=NONE. This will remove the duplicates for you.

Is This Answer Correct ?    2 Yes 0 No

AM HAVING A FILE WHICH CONTAIN 12 DATS OUT OF WHICH 4 ARE DUPLICATES HOW TO REMOVE THE DUPLICATE F..

Answer / garry

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

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More JCL Interview Questions

what is the purpose of coding notify parameter in job statement?

0 Answers   IBM,


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

0 Answers  


how you can direct the data to spool using SYSOUT option?

0 Answers  


What does IEBGENER do?

10 Answers   BirlaSoft,


hi friends........if u know syntax of IEBEDIT IN JCL

2 Answers  






Explain the purpose of the dd keylen parameter?

0 Answers  


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?

0 Answers  


What is order of searching of the libraries in a JCL?

4 Answers  


what is A-MODE and R-MODE?

2 Answers  


what is symbolic parameters in jcl, what is a temparary data set ? where do u use ?

2 Answers   Verizon,


How to pass data to a program that is coded in an exec statement?

0 Answers  


How to get the last but one duplicate record of the file using Sort?

2 Answers   Fidelity,


Categories