Hello, I am using a web crawler program to find some specific keywords ("futures", "forwards", "notional" etc.) in the 10k reports from the sec edgar database. Once the code finds the keyword, I am printing 5 (or 10) lines around the keyword to get the derivative values. The code is working, and it is fetching data but not all the required data. What the current code is doing is looking at the keywords just once and then returning lines surrounding that. For e.g. if there are 4 or 5 instances of "Notional" in the 10k, it is just looking at the first notional keyword in 10k, and returning lines surrounding that. Then it is looking at the next keyword and next. Rather than looking at all the instances of keywords, it is just looking at the first one it finds and moving on to the next one. I hope you understand the problem. I have attached the sas code with the mail. Can anyone help me with the issue? Sonik Mandal
... View more