How to find the number of duplicates in a file using Sort?
Answer Posted / sudha
//
//
//
//sysin dd *
sort fields=(1,4,ch,a)
sum fields=none/all
/*
for avoiding duplicates
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
How to submit jcl through a cobol program?
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
What is the purpose of dd?
is there any way to execute more than one proc in the same exec statement at the same time..?
Explain the function of dd disp parameter?
What is catelog procedure and how many catelog procedure to use in one job?
what is the purpose of coding notify parameter in job statement?
how do you access an uncataloged dataset in a jcl?
Why include statement is used in a jcl?
Is there any command to check wether the ps file is in sorted order?
How jcl is used for testing batch programs?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*
Can I share my data with other jobs? How?