NAME
ForeachRecord — Run a SELECT, map results to variables, and execute body.
ERRORS
Error Conditions
ConditionError CodeError Message
FieldNameList is empty. -12 Variable $VarName has empty value.
SelectStatement is empty. -12 Variable $VarName has empty value.
For the main part of the command documentation, see here.