XAID=xarid
Default: | None |
Used at compile time: | Yes |
Behavior at run time: | Source file |
See Scope - OpenESQL SQL Compiler Directive Options for more information.
XAID has the same effect as inserting an EXEC SQL SET CONNECTION statement before every EXEC SQL statement in a program.
XAID is mandatory when using more than one XAR defined with the same RM switch module type for use in, for example, online CICS or Web Services applications.
XAID is also mandatory when a MFDBFH XAR and a distinct embedded SQL XAR are both accessing SQL Server or PostgreSQL for use in any online application.