Gawk Help

Hi,
I am using the script to print the portion of the file containing a particular string. But it is giving error "For Reading (No such file or directory). I am using cygwin as unix simulator.

cat TT35*.log | gawk -v search="12345678" '
    /mSOriginating /,/disconnectingParty/ { 
       block = (block ? block ORS : "") $0;
    }
    /disconnectingParty/ { 
       if (block ~ search) 
          print block;
          block = "";
    } ' 

Is something wrong with the script. Pls help me in resolving the issue.

Thnx in advance.

It should be easier if you post an example of the input file and the desired output.
And please use code tags!