3.1.1 Before executing
This subsection explains what you need to know before using operation commands on an asset management server.
- Organization of this subsection
(1) Command execution procedure
To execute a command:
-
Log on as a user with administrator permissions.
-
Open a Command Prompt window, enter a command, and press Enter.
The command executes.
(2) Notes on executing commands
If you specify a character string that includes a space in a command option argument, you must enclose the character string in double quotation marks (").
Example:
jamscript -f "c:\example\accessdef.txt" -s "CSV =c:\temp\data.csv"
(3) Location of command execution files
Command execution files are located in the following folder:
Asset-Console-installation-folder\exe
(4) If processing stops
If one of the following errors occurs, processing of the access definition file stops.
-
An error exists in the syntax of the access definition file coding.
-
When a class was newly registered or deleted, a key property was not set in the assignment statement.
-
When a class was newly registered or deleted, a property# that must be specified in the assignment statement when registering a new class was not specified.
-
A value specified in an assignment statement is outside the range of the property's attributes.
-
No [TRANSACTION] tag was specified for a tag that accesses an asset management database.
-
A syntax error exists in an argument of an embedded function.
-
A variable type that cannot be specified exists in an argument of an embedded function, or a character or numeric value outside the specifiable range exists in an argument of an embedded function.
-
There was insufficient memory when an embedded function was executed.
-
An asset management database access error other than the above occurred.
- #
-
For details about properties that must be specified when registering a new class, see the JP1/IT Desktop Management 2 - Asset Console Configuration and Administration Guide.