for loop with 2 variables

i am having a file contants as below

my requirement is

for file in `awk -F "," '{print $8,$9}'` <temp.txt

echo "$file"

echo "$file">test.txt

a=`awk -F "," '{print $1}' `<test.txt

b=`awk -F "," '{print $2}' `<test.txt

but script reads

, i want both the vales for further execution

You'll get a better answer if you mention what system, what shell, sample input data and expected output. I suspect there is an easier way to get what you need but more detailed info is needed.

 
awk -F "," '{print $8,$9}

"," is not the delimiter in you sample input, instead it's space.

panyam

oh! yes

I have modified it now only.
Trying to get desired output.

@sagar_1986
Please post what Operating System and version you have and what Shell you are running.

Please post sample output. Because your code does not work we cannot guess what it was intended to do.

That is not a requirement, but an attempted solution.