How to call field variable?

Here, I am attaching two picture. First one is the subroutine which one I use to call the material from INP file. But when I run the analysis I don't see any z_current value in second step and also nothing of field variables. I am just wondering that my procedures are ok or not. Can anybody please help me here?