Hi, can any one tell about " How do u eliminate the
duplicates "
Answer Posted / bhaskar reddy
//Sysin dd *
sort fields=(1,5,ch,A)
sum fields= none
/*
//
if u want all dupli.in one file u can use
//Sysin dd *
sort fields=(1,5,ch,A)
sum fields =none, xsum
/*
//
XSUM is the output file name. all duplicate records moved to
this file
| Is This Answer Correct ? | 8 Yes | 1 No |
Post New Answer View All Answers
Explain the purpose of the dd keylen parameter?
What are s0c1, s0c4, s0c5, s0c7 and socb?
What is the function of dd name parameter with a 2 part structure; audit.report?
Name what parameter directs the output of the job log dataset?
How is the record format of an output dataset specified?
//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 /*
What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?
List the various advantages of using jcl language?
Explain how can the submitting users racf authority be overridden in a job stream?
Brief description of inline procedure of jcl.
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
What is condition checking in jcl? Is this possible?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
Suppose I have five jobs to do. But I want to hold one?