Bill Woodger wrote: >> There aren't many places you can naturally concatenate VSAM. It is not >> DFSORT preventing it.
It is the access method for these types of datasets which is the problem. I believe you can't concatenate both PS and VSAM as one DD as input. >> Using a different key for the VSAM data? Otherwise it is already sorted >> anyway. It depends on what is sorted according to index, alternate indexes and the key of these records. Say your VSAM records are sorted according to surname, but you want to do your sort according to age, then you will have to devise a way. John McKown wrote: >This is what we will do. I guess the programmer just didn't want the "bother" >of sizing the output sequential data set for the REPRO outpu. I would do the same. Just be careful of the logical record length of both the input sources. Even more important if they are of varying record length. I will leave the sort criteria (selecting sort keys and sort order) as an exercise for you. ;-) Groete / Greetings Elardus Engelbrecht ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
