Query Z and I Emulator for Windows Sessions

The command PCOMQRY has the following parameters:

Session letter of session to query, The syntax is /s=session-letter. This is optional. If omitted, the first available session letter is used.
Queries all sessions.
Quiet mode. In quiet mode, PCOMQRY does not write any messages to stdout.
Do not wait for session to query. The /nowait option tells PCOMQRY to complete execution without waiting until the emulator session is queried. There is no /wait option; the default is to wait until the session is queried.
Displays help information.