write a program to eliminate duplicate records in a input file
and send them to output file.

Answer Posted / ehatesham

//SORTXSUM DD DSN=datasetname,
// DISP=(NEW,CATLG,DELETE),UNIT=SYSDA,
// SPACE=(CYL,(1,4),RLSE),
// DCB=(RECFM=FB,LRECL=80,BLKSIZE=800)
.
.
//SYSIN DD *
SORT FIELDS=(1,3,CH,A)
SUM FIELDS=NONE,XSUM
/*

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the cobol coding sheets?

666


Name the sections present in data division.

701


How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?

2103


What are INPUT PROCEDURE and OUTPUT PROCEDURE?

691


Write a program to enter and display the names of students in a class using the occurs clause.

654






State the various causes of s0c1, s0c5 and s0c7.

665


here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

6840


Write down the divisions of cobol program?

673


How to use the same COBOL program in Batch and CICS on lines? explain with an example

1914


Are you comfortable in cobol or jcl?

643


What is the difference between PIC 9.99 and 9v99 in COBOL?

737


how do you reference the ksds vsam file formats from cobol programs

669


How to find out the closest prime number of an input number? I believe it has something to do with SEARCH and COBOL Linear Array.

3724


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

2734


What are the different open modes available in cobol?

722