%Table meta-SQL element
Syntax
%Table(recname)
Description
Use the %Table construct to return the SQL table name for the record specified with recname.
This construct can be used to specify temporary tables for running parallel Application Engine processes across different subsets of data.
Example
For example, the following statement returns the record PS_ABSENCE_HIST:
%Table(ABSENCE_HIST)
If the record is a temporary table and the current process has a temporary table instance number specified, then %Table resolves to that instance of the temporary table PS_ABSENCE_HISTnn, where nn is the instance number.
Related Topics