An 'AS ...' clause is required in a USING prefix in this context.
#2168 Compile-time error
An 'AS ...' clause is required in a USING prefix in this context.
Explanation
When using
is applied to an anonymous object (e.g., a shelf literal, a record field shelf, or a shelf-class function) an alias must be assigned to the current
shelf item. Add the AS
clause to the using
action, followed by the shelf
item alias.