-----------------------------------<snip>--------------------------------
I have a tape dataset from which I need to extract all records that begin with a specific 2 byte prefix. The RECFM is VB or possibly U. Is there an IBM utility that lets me just select those given records? I thought IEBEDIT sounded like a good candidate, but that seems to deal with actual job streams.... then I thought of IEBGENR, but that doesn't appear to do what I want either. Surely I'm missing something, I'd think this is a very common task. For example, CMS/TSO PIPELINES PIPE < input | STRFIND /xx/ | > output
------------------------------------<unsnip>------------------------------------- Take a look at DFSORT, using INCLUDE/EXCLUDE control statements Rick ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html