I have a search I'd like to run against a zOS dataset, and I know how to form the grep command. I have access to the machine via Unix system services, how to I address a dataset from that environment?
How big a data set are we talking about?
The Unix system services
cp command can take data sets as a source, and a Unix file (or directory) as a target, so conceivably if the data set is small enough you can copy it into files and
grep away to your heart's content.
As an alternative, if you can open your data set in
ISPF on the z/OS machine you may want to consider using FINDRX (which gives ISPF basic regex capability) -- I've never used it myself though so I can't vouch for it working or not.
As far as i know there are two options:
Copy files to uss-filesystem and
grepthere as mentioned above; works for me.
Create an external link (
~ /usr/sbin/mount -f host.quali.pda -O 'SYNC(120)' mountpoint) and
grepvia that link; currently not working for me because of rights-restrictions.
cat-suggestion works well for a single file, but not for all pds-members (at least i was not able to make it work).