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
What is the function of //jcllib statement?
Is their any set of rules for dd? Explain.
how do you access an uncataloged dataset in a jcl?
Is it possible to left uncode disp? If yes, how?
which utility is used to sort a file in jcl?
What is the syntax of JCL statement?
How to pass the parameter in parm using linkage section ? (syntax)?
What are the parameters that are used in creating a gdg?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
What is the purpose of disp parameter?
how to do automated restart when a job abends?
Name the parameters which can be used to limit the number of records written to a sysout dataset?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?