Hi, can any one tell about " How do u eliminate the
duplicates "
Answers were Sorted based on User's Feedback
Answer / 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 |
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 |
Explain about User Information
Suppose your program is reading a Sequential Vsam file. The file contains 10 records. How will you code the JCL to read only 2nd, 5th, 7th,and 10th record?
wht do u mean by inrec and outrec ?
How many types of libraries are there in JCL ?
How do you pass parameters to the program as the job is being executed ?
Can we create VSAM file by using IEBGENER?
i want to restart frm step 2, previously i coded cond parameter on step2 wht happens at tht time ?
What is the use of symbol // in jcl?
there are 10 steps in jcl how to execute the steps from step2 to step8 only
diff bw SB37,SD37,SE37 ?( bcz these 3 belongs Space related abends only)
do we need to mention the location of catalogued procedure for each it's call in a single job?
What is the purpose of include statement in a JCL?