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
Explain how can return codes be tested before execution of a job step?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
what is DSN parameter and DISP parameter is used for?
what is JCL?
is there any way to execute more than one proc in the same exec statement at the same time..?
What is the function of //jcllib statement?
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
What are hierarchy levels in jcl?
What is the function of the dd avgrec keyword in sms datasets?
How can a jobs execution priority be modified?
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
Explain the function of the dd dcb keyword?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
What is the motivation behind coding class parameter in job statement?
What are steplib and joblib?