%IsRunningOnline meta-SQL element
Description
Use the %IsRunningOnline meta-variable to determine whether the current Application Engine program is running in online mode or batch mode.
Returns
If %IsRunningOnline = 'N', then the current Application Engine program is running in batch mode.
If %IsRunningOnline = 'Y', then the current Application Engine program is running in online mode.
Examples
%Select(FS_BP_WRK_AET.SELECT_FLAG)
SELECT 'X'
FROM PS_INSTALLATION
WHERE %IsRunningOnline = 'N'
%Select(FS_BP_WRK_SET.SELECT_FLAG
SELECT 'X'
FROM PS_INSTALLATION
WHERE %IsRunningOnline = 'Y'