Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you

1033


Why include statement is used in a jcl?

1136


what is the JCL statement consists of?

1153


Is automatic restart possible in jcl?

1169


How to alter the parameters for the existing gdg?

1160


How dummy is used in jcl?

1107


What is the function of //jcllib statement?

1287


How does the jcl specify the job to os?

1113


How can an in-stream dataset be terminated?

1313


Why block size is multiple of lrecl in jcl?

1367


How to submit jcl through a cobol program?

1127


In job processing, what happens in execution stage?

1157


Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?

1073


If a (+1) generation dataset is created in the first step of a job, how can it be referenced in later steps of the same job for input?

1266


Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

2531