Donald,
Think simple ... think SORT (IBM's SORT or any vendor's SORT)...

Regards,
Ulrich Krueger


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of 
Donald Russell
Sent: Monday, November 21, 2011 10:16 AM
To: [email protected]
Subject: Simple record extraction from a sequential file

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

Thank you,

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to