search_dataset
Search the mainframe dataset catalog by wildcard pattern, filter by DSORG, and limit results to locate matching datasets.
Instructions
Search the catalog for datasets matching a wildcard pattern. Supports DSORG filter and result capping.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dsorg | No | Filter by dataset organisation: PO (PDS/PDSE), PS (sequential), DA (direct access). | |
| pattern | Yes | Dataset name pattern with wildcards, e.g. "PROD.**.LOADLIB". Must contain at least one "." or "*". | |
| maxResults | No | Maximum number of datasets to return (default: all matched up to server limit). | |
| environment | No | Named target environment (see list_environments), e.g. "dev", "prod". Omit to use the server default. |