On Wed, 31 Aug 2016 10:11:11 -0500, John McKown wrote: >I can't find a way to do the following. Basically a programmer want to >create an output data set which is the sorted input from a sequential data >set and a VSAM file. I don't see any way to do this easily. We plan to >unload the VSAM to sequential, then sort it with the other sequential data >set. But that is just more work. I wonder why DFSORT doesn't have a way to >handle this. > As I watch this thread spin out, it seems to me that this sort of task is a natural use for CMS Pipelines or Batchpipes or POSIX pipes: A collection of input filters each with a SPECS stage converting an idiosyncratic input format/DSORG to a uniform output and feeding a FANIN which feeds SORTIN.
I used Pipelines jargon rather than POSIX because SPECS strikes me as being more suited to data formats characteristic to z/OS that sed or awk. I know nothing about PCRE. I know DFSORT takes pride in being the Swiss Army Knife of z/OS, but replicating all other extant filters in DFSORT is a grievous reinvention of the wheel. I need to take this to CMSPIP-L to ask whether CMS DFSORT is Pipelines- friendly. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
