Ravi Gaur wrote:

>Since I am not that good on Sort programming could somebody throw a code which 
>could help in Merging two files which has common BY variable..(I generally do 
>it with SAS) however where this required it's not licensed....so it's possible 
>via rexx however for millions of records that's damn slow...so believe DFSORT 
>can easily achieve it with SPLICE ...

Or as Martin kindly said, use JOINKEYS

>So here's what I have in two files..

>FILE 1 Contain variables like DSNAME VOLSER 
>FILE2  Contain variables like DSNAME VOLSER 

>Now my requirement is based on VOLSER MATCH between file1 and file2 the output 
>record should be created in FILE3.

I'm not sure what you want, please supply sample input and sample outputs. Also 
give the keys in what columns.

Groete / Greetings
Elardus Engelbrecht

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to