File1 has 100 records and file2 has 200 records i want to
copy 50 records which r in both file into file3
Answer Posted / harsha
Give both input files in concatenation to SORTIN.
SORT FIELDS=NONE,XSUM
This will copy all duplicate records from both files to
SORTXSUM dataset.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
Is condition checking possible in jcl?
I need exexution process for JCL programs
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
What do you understand by the terms: joblib and steplib?
How can a fb file convert to vb file using sort program?
What is one line to pass PARM from JCL to COBOL?
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?
what are JCLLIB and STEPLIB in JCL?
How jcl is used for testing batch programs?
How gdg are concatenated?
Name what parameter directs the output of the job log dataset?
A dd statement consists of 4 fields. Name them?
is there any way to execute more than one proc in the same exec statement at the same time..?
Is automatic restart possible in jcl?