I have files that contains both duplicates files(occur more
than twice) and non-duplicate files.The file is already
sorted by a key.I want to determine those records that are
duplicate and will be move to a duplicate file and non-
duplicate files to be move to a valid file.thank you.help
please
Answer Posted / sowjanya
using jcl,
//ddname1 <- input file
//ddname2 <- outfile1(no duplicates)
//xsum <- outfile2 (duplicate)
//sysin dd *
sort fields=copy
sumfields =none,xsum
/*
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Can you please let me know the centre name of INS certification in Kolkata.
How do you get the data to code the BMS macro?
What are all the divisions of a COBOL program?
Name some of the examples of COBOl 11?
What is the difference between perform … with test after and perform … with test before?
Differentiate between structured cobol programming and object-oriented cobol programming.
What are the different rules to perform a Search?
What is difference between static and dynamic call in cobol?
what is difference bt COND, REGION & TIME parameters at JOB & EXEC. give an exp.
Write a cobol program making use of the redefine clause.
Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks
What is the difference between structured cobol programming and object alternativelyiented cobol?
How to get the last record in vsam file in cluster? And how can you get the ksds file records into your cobol program?
) How do u handle errors in BMS macro?
Why did you choose to work with ibm mainframe cobol programming?