I have 3 duplicate records in a file .
I want to eliminate 1st, 2nd and copy 3rd one only . HOW ?

Answer Posted / abhaytronics

use 'sumfields'

Is This Answer Correct ?    13 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can the attributes of one sms dataset be copied to another dataset?

863


what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

659


which utility is used to run a cobol-db2 program?

810


Why include statement is used in a jcl?

691


State the uses of syspring, sysin, sort fields, sum fields and dummy.

656






What are the jcl procedures?

649


What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?

2001


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' ?

1591


Is it possible to code instream data in a PROC?

754


Differentiate between addressing mode and run mode.

615


Explain about LMQUERY�give a dialog information about a data set

906


How to alter the parameters for the existing gdg?

716


Explain the function of //cntl statement?

661


How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?

2174


Is it possible to define dd statements as you want?

646