Hitachi

Job Management Partner 1 Version 10 Job Management Partner 1/Advanced Shell Description, User's Guide, Reference, and Operator's Guide


who command (outputs login user information to logs)

Organization of this page

Format

who [am i]

This command is created by using the sample script file script_who1 as the base. For details about the creation procedure, see 2.6.6(2) Preparations for using the script-format UNIX-compatible commands (Windows only).

Description

This command starts the quser.exe or qwinsta.exe command.

Specify this command to output to logs a list of the users who are logged in to the system when job definition scripts are run.

Arguments

am i

Ignores the specification.

Return codes

Return code

Meaning

0

Normal termination

Other than 0

Error termination (return code of the quser.exe or qwinsta.exe command)

Examples

The following shows an example definition for job definition scripts. This example assumes that the who command has been created by using the script_who1 sample script file as the base.