EXEC SQL PERFORMING frm_fill_data.
SELECT
TO_CHAR( TRANSACTION_DATE ,'YYYYMMDD' ),
ENTERED_CR,
REFERENCE1,
REFERENCE3
INTO :GS_ORACLE-TRANSACTION_DATE,
:GS_ORACLE-ENTERED_CR,
:GS_ORACLE-REFERENCE1,
:GS_ORACLE-REFERENCE3
FROM T_GL_BIZ_INTERFACE
WHERE TRANSACTION_DATE <= TO_DATE(:L_DATE_HIGH,'YYYYMMDD')
AND TRANSACTION_DATE >= TO_DATE(:L_DATE_LOW, 'YYYYMMDD')
ENDEXEC.