Hi, can any one tell about " How do u eliminate the
duplicates "

Answer Posted / rammateti

By using DFSORT we can eliminate the duplicates

//Sysin dd *
sort fields=(1,5,ch,A)
sum fields=
/*
//
in the above dfsort we use sum fields= empty then it
eliminate the duplicates

if u want all dupli.in one file u can use
sum fields = xsum........
by (prathap)

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can return codes be tested before execution of a job step?

919


Explain the hierarchy levels in jcl?

1118


How is a type of file defined in the jcl that executes the cobol program?

712


What is the function of //cntl statement?

830


What does a disposition of (new,catlg,keep) for a dsn mean?

612






a dd statement has 2 types of parameters. Name them?

645


How does jcl act on code(if you take a cobol program)?

705


what is “Cond= even” and “Cond=only”?

740


What is the format of comment statement?

664


What is one line to pass PARM from JCL to COBOL?

694


When output dataset space is required, what quantity categories are used?

826


Is it possible to define dd statements as you want?

644


Where can program checkpoints be stored for use in a restart?

843


by using cond parameter maximum 8 cond can be coded in single cond means ?explain

973


What is the significance of addrspc parameter in the exec statement?

620