i have a file which contains duplicates ? my requirement is to
eliminate duplicates and these elminated duplicates should be
moved to another file can any code this using sort ?
Answer Posted / snehatechm
But which duplicate record will be found in SORTXSUM.
Will it have last duplicate record or first duplicate
record.
e,g 123acvvbbnm
123bbbbbbbb
123rkrjrjjr
which record will be found in sortxsum
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain how can the disposition of sysout datasets be set for an entire jobstream?
What is jcl in mainframe?
Explain the purpose of dd dummy statement?
What do you understand by jcl?
what are JCLLIB and STEPLIB in JCL?
Explain the function of dd name parameter with a 2 part structure; audit.report?
What are s0c1, s0c4, s0c5, s0c7 and socb?
Explain about LMFREE�free data set from its association with data ID
Explain how can a stopped job be started again?
what sort card you will use to copy the data from one dataset to another dataset?
1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat
Explain the function of //cntl statement?
Which dd parameters are required?
what is the use of JCL?
How can return codes be tested before execution of a job step?