Hi,
This is my first post to this forum and I tried searching my problem in other topics but couldn't find it.
I am very new to SAS programming and wrote few report creation program based on existing ones but I am facing a problem with a new one now.

My requirement is to read from 2nd last line if a particular string is found in the current file read pointer.
Is there any specific function/command in SAS if I can do it. Or need to read the file twice (first to calculate the required row then to fetch the line required ) Or is there any other easy way. I am looking into SAS manuals for sometime but if anyone can help I will be grateful.