unable to execute background job

I am unable to execute the below command in background. Plz suggest.

#> ./test input >out &
[1] 913618

[1] + Stopped (SIGTTIN) ./test input >out &

Suresh

The signal SIGTTIN means your script ./test is trying to read from the console (the tty or keyboard) while the script is in background.

This is a script code thing.

I also recommend strongly that you do not use the name "test" for any file or script. "test" is a unix command /usr/bin/test