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 / garry
Yes, Sort will do it for u.
//........Pgm=sort
........
.........
.........
//sysin DD *
copy (complete statement)
SUM FIELDS=NONE
/*
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Explain the function of the steplib dd statement?
How can a stopped job be started again?
in ways data can be passed to a COBOL program from JCL?
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
State the uses of syspring, sysin, sort fields, sum fields and dummy.
Differentiate between addressing mode and run mode.
how to compare two datasets without using superce because output is limited to 133 bytes
What is jcl in mainframe?
What is the motivation behind coding class parameter in job statement?
Are there any set of rules for the names of the steps used in a job? What are they?
what are the types of abends that occur on job failure? And explain the possible causes of these
I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.
I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK
What are the difference between jcl and jes?
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?