0 - 1 of 1 tags for quotes; teradata; procedure

Hi all,
I'm learning procedures and here is one of my first,.. but I cannot get it working
can you tell how to fix this?