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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pattern": "<pattern>"
},
"name": "search_dataset"
}
}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. |