<snip>
As input I have a dataset with a list of dataset 
names from a catalog (really several catalogs), 
in columns 1 thru 44.  What I want to do is 
include or exclude dataset names in the file 
based on patterns like you might enter on ISPF 3.4

                 xxx.yyy.*.zzz.**
                 ttttt.*.rrrrrrr.**
</Snip>

Frank seems to be un-retired today, so maybe he will have some clever solution 
with DFSORT.

But I do stuff like this all the time by simply FTP'ing the information down to 
my PC, loading it into MS SQL, and then writing SQL queries to extract the 
information I want.  The SQL LIKE predicate can do a lot of the pattern 
matching you seem to desire.

Another thing you can do with the data on your workstation is to use UNIX 
regular expressions.  RegEx has something of a learning curve, but it is very 
powerful once you get the hang of it.

I also expect John M to chime in with all the wonderful things you can do using 
z/OS Unix System Services.  So you may not even need to leave the z/OS platform.

John

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to