DWHENCE(1)
NAME
dwhence
- Search for a member within a dataset concatenation.
SYNOPSIS
dwhence [-dhjJv] <MEMBER> <CONCATENATION>
-d
Print debug messages.
-h
Print syntax help.
-j
Print output in JSON format.
-J
Print JSON output in a readable format.
-v
Print verbose command information.
DESCRIPTION
Search for a dataset MEMBER within a dataset CONCATENATION. Generation dataset (GDS) relative name notation can be used with dwhence
.
EXAMPLES
Look for the dataset member TEST
in the dataset concatenation DATASET.ONE:DATASET.TWO:DATASET.THREE
.
dwhence TEST DATASET.ONE:DATASET.TWO:DATASET.THREE
Search for member MYDATA in a dataset concatenation and get JSON output:
dwhence -J MYDATA DATASET.ONE:DATASET.TWO:DATASET.THREE
{
"data": {
"found": true,
"result": "DATASET.ONE",
"member": "MYDATA",
"search_list": [
"DATASET.ONE",
"DATASET.TWO",
"DATASET.THREE"
]
},
"program": "dwhence",
"options": "-J ",
"rc": "0"
}
EXIT VALUES
0
Success.
8
No matches were found.
Other
Error, see message for details.