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
Where & How Do You Code Identifier In Jcl?
How gdg are concatenated?
What is the function of a dd statement?
Is it possible to define dd statements as you want?
what are the types of abends that occur on job failure? And explain the possible causes of these
Matching Logic in Jcl not in cobol.Could any one please answer this question
what are JCLLIB and STEPLIB in JCL?
What is timing concept in mainframe?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
Explain the function of the steplib dd statement?
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 parameters can be used to limit the number of records written to a sysout dataset?
how do you access an uncataloged dataset in a jcl?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.