The following lines contain the word 'select', 'insert', 'update' or 'delete':
select line_id,
batch_run_number,
api_name,
status,
error_number,
error_message,
extended_error_message,
source_row_information
from hr_api_batch_message_lines
where line_id = p_line_id
for update nowait;