printf does not work nor does the message statements

these are the errors that i get

when i use printf

when i use message statement i get this 

Nothing prints on the console or the transcript file.

Please let me know how to use some kind of a print or message statement on profile udf