EQA1656E statement_id contains a value that is invalid in this context.

Explanation

%STATEMENT and %LINE are invalid in AT commands at block entry and block exit, and in AT and LIST STATEMENT commands at locations that are outside of the program.