Job Management Partner 1/Software Distribution Administrator's Guide Volume 2

[Contents][Glossary][Index][Back][Next]

1.3.3 Setting for executing commands

When you use a user management facility to execute JP1/Software Distribution commands, you must register a system environment variable in the computer that will be used to execute the commands.

The following table describes this environment variable.

Setting item Description
variable-name NETM_USERID
variable-value User name of JP1 user who has permission to execute JP1/Software Distribution commands.

You do not need to set a password.

When the user management facilities are used, you must set the environment variable on the computer from which command execution is to be requested when JP1/Software Distribution commands are executed from JP1/AJS or a user program.

The following table lists and describes the return codes and actions to be taken in the event of a user management error during execution of a JP1/Software Distribution command.

Code Description Action
41 No user has been specified in the NETM_USERID environment variable, or acquisition of user permissions from JP1/Base has failed. Check the NETM_USERID environment variable, or make sure that JP1/Base is running.
42 The user specified in the NETM_USERID environment variable is not authorized to execute the command. Specify in the NETM_USERID environment variable a user who is authorized to execute the command.
43 The user specified in the NETM_USERID environment variable is not registered in JP1/Base. Specify in the NETM_USERID environment variable a user who is registered in JP1/Base.