Joined: 20 Oct 2006 Posts: 6967 Location: porcelain throne
after the driver file has been sorted on key,
this could be done simply by DFSORT
'PROGRAMS' button at top of page and refer to the match skeleton program
which you could modify for you needs. The VSAM could be dynamically read and readnext.
if the vsam volume is very large (and the avgreclen) then the cobol solution would probably be more less resource intensive.