Question: 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?

Answer: 
Nowadays you can use `dgrep` command

As the manual says:

> 
> "Search for a pattern across all datasets (partitioned and sequential) matching one or more dataset patterns"
> 
> 
> 

The syntax:

```
dgrep [-hinvd] [-C<num>] <pattern> [<dataset-pattern>]+
     -h: syntax
     -i: ignore case
     -n: display line numbers
     -v: print names of datasets being searched
     -d: print debug messages
     -C: display <num> lines of context around a match

```

For example:

```
$ dgrep DSALET36 IBMUSER.*.ISPPROF

IBMUSER.SYSTEM.ISPF.ISPPROF                 ISRLLIST   34

```

More applications and examples:
[here](https://makingdeveloperslivesbetter.wordpress.com/2017/11/16/working-with-mvs-datasets-from-uss/)
* z/OS supports UNIX ([Single UNIX Specification](https://en.wikipedia.org/wiki/Single_UNIX_Specification)) APIs and applications through [USS](https://en.wikipedia.org/wiki/UNIX_System_Services) (**U**NIX **S**ystem **S**ervices).
* The Open Group certifies z/OS as a compliant UNIX operating system – with UNIX/Linux-style hierarchical HFS and zFS file systems.