Hitachi

JP1 Version 11 JP1/Script Description and Reference (For Windows Systems)


A.4 Output format of server trace files

A server trace file contains the results of command execution by the server when called from the SetGV, GetGV, DeleteGV, or NetExec command written in a script running on a client.

Organization of this subsection

(1) File name

The file name is fixed as SPTSVTRC.SPY. The file is created in the DATA folder# in the installation folder.

#

The file is created in the script execution environment folder (system-drive\ProgramData\Hitachi\Script\Data).

(2) Output format

Figure A-6 shows the output format of the server trace file.

Figure A‒6: Output format of the server trace file

[Figure]

a.

Date on which the server executed the command

b.

Time at which the server started command execution

c.

Time at which the server completed command execution

d.

Name of the executed command

e.

When the executed command calls a process, a two-line trace is produced. A symbol identifies whether the output line is the first or second line of the trace.

S: First line (start)

E: Second line (end)

f.

Process identifier output when the executed command calls a process

g.

Execution result of the command executed by the server

OK: Successful

ER: Execution error (error detail code in parentheses)

h.

Computer name of the client (enclosed with double quotes)

i.

User name of the client (enclosed with double quotes)

j.

Full path of the script file executed by the client (enclosed with double quotes). The number in parentheses is the line number in the script file of the command executed by the server.

k.

Start time of a process called by the server that executed the command

l.

End time of a process called by the server that executed the command

m.

Completion code of a process called by a command executed on the server (output only if the command execution result is OK)

(3) Maximum lines and columns

Execution results are output to a server trace file up to a maximum of 1,000 lines and 200 columns. These limits cannot be changed.

If the output execution results exceed the maximum line count, the system returns to the first line and outputs the new results, replacing the existing results. If the maximum column count is exceeded, the results continue onto a new line.

(4) Output specification

You can specify whether or not to output a server trace file in the Server Information page of the Options dialog box which opens from the Manager window.