Here is a test of the open/concat problem open(BOB,"test|"); That should read "o-p-e-n-(..." not "concat("