i am having 2 ps say PS1 & PS2, both are having 10 records each, but in that records 3 are identical in both ps,now i want to copy that identical records to another ps say PS3 only through JCL. Can anyboby help me plz?
Joined: 15 Feb 2005 Posts: 7130 Location: San Jose, CA
Quote:
3 are identical in both ps,now i want to copy that identical records to another ps say PS3
It's not clear what you want to do for the 3 identical records. Do you want to copy all 3 records to PS3, or do you want to copy just the second and third record (but not the first) to PS3, or what? Are there matches and non-matches between PS1 and PS2? If so, what do you want to do about the matches and non-matches? Are there matches within PS1 or PS2? If so, what do you want to do about the matches within each file?
Please show an good example of the records in each input file and what you want the output file (or files?) to look like. Don't make us guess what you want.