HP (Hewlett-Packard) 544530-001 Computer Accessories User Manual


 
log c:\errorCode.log
select * from employee;
quit if errorcode=4082
log off
These results are logged when error code 4082 occurs:
SQL>select * from employee;
*** ERROR[4082] Table, view or stored procedure NEO.USR.EMPLOYEE
does not exist or is inaccessible.
*** ERROR[8822] The statement was not prepared.
SQL>quit if errorcode=4082
RECONNECT Command
The RECONNECT command creates a new connection to the Neoview platform using the login
credentials of the last successful connection.
Syntax
RECONNECT
Considerations
The host name or IP address and port number, credentials (user name and password) and the
datasource names values are used from information previously entered. This is the information
specified at launch or when the last CONNECT command was executed.
If Neoview Script was invoked with the -noconnect launch parameter, Neoview Script prompts
you for the values.
Examples
This command creates a new connection to the Neoview platform using the login credentials of
the last successful connection:
SQL>reconnect
Connected to DataSource TDM_Default_DataSource
REPEAT Command
The REPEAT command reexecutes a previous command.
Syntax
REPEAT [ text | [-]number ]
text
specifies the text of the most recently executed command. The command must
have been executed beginning with text, but text need be only as many
characters as necessary to identify the command. Neoview Script ignores leading
blanks.
[-]number
is an integer that identifies a command in the history buffer. If number is negative,
it indicates the position of the command in the history buffer relative to the current
command; if number is positive, it is the ordinal number of a command in the
history buffer.
The HISTORY command displays the commands or statements in the history
buffer. See the “HISTORY Command” (page 90).
98 Neoview Script Interface Commands