Sorry smercurio_fc, the intention on posting on both forum was not to irritate anyone.
The solution worked when using string subset as I am able to get x number of bytes and the created another funciton to extract out the bytes before reading the next time.
*************************************************
CLD
*************************************************