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
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
How you can characterize tables in cobol?
I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......
Name the sections present in data division.
how do you define single dimensional array and multidimensional array in your cobol?
What is amode(31)
What is comp-1 and comp-2?
Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning
Describe the cobol database components?
How to get the last record in vsam file in cluster? And how can you get the kids file records into your cobol program?
) How do u handle errors in BMS macro?
Is it possible that the redefines clause has different picture clauses compared to the one it redefined?
Have you used comp and comp-3 in your project? And how?
What type of SDLC u followed? Why?
What is cobol?