SQL/MX Programming Manual for Java
SQLJ Syntax
HP NonStop SQL/MX Programming Manual for Java—523726-003
A-7
Host Expression
OUT
specifies a host variable or expression that accepts data from an SQLJ clause. 
It is the default mode if the host expression is part of an INTO list or the left-
hand part of an assignment expression. See Output Host Variables and 
Expressions (OUT or INOUT) on page 3-27.
INOUT
specifies a host variable or expression that accepts data from and passes data 
to an SQLJ clause. See Input and Output Modes on page 3-27.
simple-variable 
is the identifier of a simple Java variable. See Host Variables on page 3-28.
complex-expression 
is a complex Java expression enclosed in parentheses. A complex expression 
results in a single value and is either right-hand valued or left-hand valued. See 
Host Expressions on page 3-30.
A right-hand valued expression is an expression as defined by the Java language 
and is evaluated during execution. 
A left-hand valued expression is evaluated to determine both its value and its 
location. If the left-hand expression is a simple Java variable, the location is the 
location of the variable. If the left-hand expression references a Java field Fld of a 
Java object Obj, the location is the location of Obj.Fld. If the left-hand 
expression refers to an element of a Java array Arry with index i, the location is 
the location of the array element Arry[i].










