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

Answer Posted / sudee

//STEP10 EXEC PGM=SORT,REGION=1024K
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=...,DISP=SHR
//SORTOUT DD DSN=...
//SYSIN DD *
SORT FIELDS=copy
SUM FIELDS=NONE
/*
//

Is This Answer Correct ?    25 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

1969


How to override loadlib?

1428


How do you submit a job for execution?

640


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

605


What are s0c1, s0c4, s0c5, s0c7 and socb?

705






what are the various stages of job processing?

738


What is condition checking in jcl? Is this possible?

626


why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

1950


Is there any command to check wether the ps file is in sorted order?

2432


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

614


In sms datasets, what is the function of the dd mgmtclas keyword?

863


What is jcl in mainframe?

690


how can the same proc be re-used and called by many jobs?

909


what sort card you will use to copy the data from one dataset to another dataset?

730


Explain how can a jobs execution priority be modified?

742