Problem with AWK

Hi All,

How can i store a value of the unix command executed in AWK with system command.

devise=`cut -c1-3 dvgp.txt`

I wrote this command in awk as

awk'{
code= sprintf("devise=`cut -c1-3 dvgp.txt`");
system(code);
}'

Is this correct. can you please suggest me how the code can be modified to get the value into devise variable

Something like this?

"cut -c1-3 dvgp.txt" | getline devise

Regards