This command performs a grid object search.
zos search [--type=] [--detail] [--facts] [--constraint=] [--order=]
Specify the grid object type (user, resource, job, jobinstance, vmhost, grid. XXXgroup). The user must enter a value with this option.
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.
Force TLS/SSL encryption [on|off]. The user must enter a value with this option.
Port number for TLS/SSL connections. The user must enter a value with this option.
Force acceptance of new TLS server certificates.
Force acceptance of all TLS server certificates.
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"