export_spool_to_dataset
Export a job spool file to a mainframe dataset by specifying job name, job ID, and file ID, with an option to skip truncated records.
Instructions
Export a job's spool file (by file id) to a mainframe dataset.
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": {
"job_name": "<job_name>",
"job_id": "<job_id>",
"file_id": "<file_id>",
"destination_dataset": "<destination_dataset>"
},
"name": "export_spool_to_dataset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | ||
| file_id | Yes | ||
| job_name | Yes | ||
| skip_if_truncated | No | ||
| destination_dataset | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |