AM HAVING A FILE WHICH CONTAIN 12 DATS OUT OF WHICH 4 ARE
DUPLICATES HOW TO REMOVE THE DUPLICATE FILES IN JCL? CAN I
GET THE PROGRAM FOR THIS
Answer Posted / ksingla.vikas
A Sort program will do that for you. Just write
sumfiled=NONE. This will remove the duplicates for you.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
What is the function of a dd statement?
Name the statement which can be used to send data to another mvs jes3 node?
Which statement is used to identify the private libraries in job?
In job processing, what happens in conversion stage?
which utility is used to sort a file in jcl?
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
Must tape dataset definitions include vol=ser specifications?
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 the dd dcb keyword?
what is the resolution for sb37 error
Are there any set of rules for the names of the steps used in a job? What are they?
Explain the jcl exec statement?