Parameter not accepting in awk

In below script parameterwhich i am passing to awk function is not working.Not sure why its not accepting parameter.Please tell me how to pass parameter to the awk function.Please check the below script.

#!/bin/ksh
 
dummy_file=/etlapps/dev/data/sub_servicer_data/ScriptLogs/emp.txt
fields=5
column='$1'
datatype=[0-9.]
length=2
awk -F� '
NR==1{next}
{f="ok"}
$1!~/^/$datatype{1,$length}$/{f="s-err"}
$2!~/^[a-zA-Z0-9]{1,20}$/{f="n-err"}
$3!~/^[0-9.]{1,10}$/{f="p-err"}
$4!~/^[a-zA-Z0-9]{0,20}$/{f="de-err"}
$5!~/^[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}$/{f="da-err"}
{print f,$0}
' $dummy_file

emp.txt(source file)

sno�name�phoneno�dept�joineddate
1.�vivek�0861�CSE�2013-05-29 00:00:00
2�dinesh�1234.56�ECE�2013-05-29 00:00:00
3�sai�568��2013-05-29 00:00:00
4�sridar�123�IT�2013-05-29 00:00:00

Why not use post you already have:

in previous post we directly defined values,in above scenario i want pass value as parameters.Parameters are not accepting in 1st line of awk function.