Thanks for your response Daniel.
After some further testing I believe I know why it is running forever, but not sure how to correct it. Here is a screen shot of the query text. This script runs fine.
When I add a criteria on the CDPOS.FNAME field to only give me records with AEDAT it runs forever. I tried "= AEDAT" with post padding of spaces, I tried "=AEDAT" with no padding, and I tried "Like AEDAT*".
Does anyone have any suggestions or tips?

Paul Callaghan, CPA, CMA
Business Analyst Reporting
Office: 519-740-7477 extn 3578
Cell: 519-240-0346
------Original Message------
Can you take a screen cap of your query text and share? If you just click "number of entries" does it return a result? Also for giggles try putting a really granular filter on your left most table and see what happens?
For what it's worth:
-Time outs are super frustrating because you're not actually getting a message back. I get them from time to time when monkeying with change docs, partners, etc.
-CDHDR/CDPOS is a pig data set. I generally try to avoid joining it to anything unless the results are totally and 100% predictable
-Instead, I'll use query 1 to fetch a set of results (IE, PO numbers I guess) and put it in a text file. I'll use query 2 to read and pass the list in the text file to winshuttle via the in statement with the dynamic list.
------------------------------
Daniel Lozanski | BT AM BA LOG
Siemens Building Technologies, Inc. |
------------------------------