Hitachi TrueCopy for z/OS User Guide (T1711-96024, November 2011)

Hitachi TrueCopy for z/OS user guide 211
Error reporting
The TC390 scripting error codes are slightly different from the general TC390 error codes. The following
figure shows the format of the scripting error codes. The following table describes the TC390 scripting error
messages. Table 67 on page 211 lists the TC390 scripting error codes. The message ID is the four-digit
number displayed on the error message. The internal code is the four-digit number displayed in the fifth
column of the error trace file (see ”Script Operations window” on page 78). For additional TC390
troubleshooting information, see ”Troubleshooting” on page 151.
Figure 82 Scripting error code format
Table 66 Error messages
Error Message Conditions to Verify Corrective Action
Syntax error The syntax validity of the script is checked
at the start of execution. An error message
will be displayed if failed.
Use the scripting error code to determine
which line contains the syntax error (see
Table 67 on page 211) and fix the syntax
error.
Parameter error The parameter validity of the script is
checked on executing each instruction. An
error message will be displayed if failed.
Use the scripting error code to determine
which line contains the parameter error
(see Table 67 on page 211) and fix the
parameter error.
Rejection The result of the execution is checked on
each target device. If failed, the last error
status is displayed and error flag is set in
the reserved variable _Result. Also script
continues to be executed.
To terminate the script or display a
message of error occurrence and
indication following steps, check that
_Result is not 0 in script.
Skip if not executable The condition of each target device is
checked to be executable status. For
example, the M-VOL status must be simplex
to create a pair. If failed, error flag is set in
the reserved variable _Result. Also script
continues to be executed.
To terminate the script or display a
message of error occurrence and
indication following steps, check that
_Result is not 0 in script.
Table 67 TrueCopy scripting error codes
Message
ID
Internal
Code
Error Message Error Description
2338 -- Normal End. The script execution has completed successfully.
2339 1102 Cannot open a file by ‘Memo
command.
The ‘Memo’ command cannot start the Write
application. The Write.exe file may be absent from
the Windows directory.