If you are using an SQL record as the I/O object, the record name is sufficient to relate one kind of statement to another, unless you modify the SQL statements associated with the record to retrieve different sets of columns for update in different statements. In this case, use a result-set identifier to identify the result set associated with an EGL replace statement.
Related concepts
SQL support