Reading the contents of the file and splitting using ksh

We're using a ksh script for installing one product.

I've another config file, I'd need to read this configuration file from my main script
Content of the Configuration file:

BPWS_Instance_1:Linux:x86_64:YES:/hosting/download:BPWS_Linux_64.jarpaymon_Instance_1:Linux:i686:YES:/hosting/download:paymon_Linux_32.jar

So now in my main script after reading the configuration file If I've BPWS_Instance_1 ( this is the instance name ) which is running ( YES = Running ) on the Linux OS 64 bit processor ( Linux:x86_64 ) then I'd need to get the BPWS_Linux_64.jar file from the location /hosting/download.Can someone help me with this ?

Use the read builtin command with IFS set to a colon:

IFS=: read var1 var2 ... varN < config

Regards,
Alister

Thanks so much Alister!