IBM MainFrame Question:
Download Questions PDF

Tell about How do u eliminate the duplicates?

IBM MainFrame Interview Question
IBM MainFrame Interview Question

Answer:

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........

Download IBM MainFrame Interview Questions And Answers PDF

Previous QuestionNext Question
How To get the last record in VSAM file in cluster? And How can u get the ksds file records into ur COBOL program? Please tell me about these two questions.?What is difference b/w file-aid tool and file-aid utility?