This command performs a grid object search.
zos search [--detail] [--facts] [--type=] [--constraint=] [--order=]
The user must specify one of the following grid object types:
user
resource
group
job
jobinstance
vmhost
Displays detailed information for each grid object rather than just a name.
Displays facts for each grid object.
Specifies a constraint string to restrict search. The command defaults to "" to match everything. The user must enter a value with this option.
Specifies returned order (fact/a|d, fact/a|d,..).
Specifies the terminal width for formatting. The user must enter a value with this option.
Displays a help message for this operation.
Turns on debug output during this operation.
Turns on verbose output during this operation.
To generate a detailed listing of all users in group eng, the user would enter the following command:
zos search -t user -c '<contains fact="user.groups" value="eng"/>' -o "user.location/d"