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
What are the cobol coding sheets?
Name the sections present in data division.
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?
What are INPUT PROCEDURE and OUTPUT PROCEDURE?
Write a program to enter and display the names of students in a class using the occurs clause.
State the various causes of s0c1, s0c5 and s0c7.
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?
Write down the divisions of cobol program?
How to use the same COBOL program in Batch and CICS on lines? explain with an example
Are you comfortable in cobol or jcl?
What is the difference between PIC 9.99 and 9v99 in COBOL?
how do you reference the ksds vsam file formats from cobol programs
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.
How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that
What are the different open modes available in cobol?