When an SQL statement is processed, it produces a return code that becomes the value of a variable named SQLCODE. When the value of the SQLCODE variable is not equal to 0, CA OPS/MVS writes error messages to a particular destination. The destination is dependent upon the environment from which the SQL statement was invoked.
When you use the ADDRESS SQL host environment to invoke an SQL statement from an AOF rule or OPS/REXX program, error messages are sent to the external data queue.
When you use the OPSQL command processor to invoke an SQL statement from:
Copyright © 2014 CA.
All rights reserved.
|
|