I created a new thread to ask my question:<BR><BR>Actually what I&#039;m doing is that: <BR><BR>I&#039;m checking for a few services are running in vMS systems. <BR>This is all working fine. <BR>After that I&#039;m redirecting the results from the command prompt to a .txt file. <BR>But there is an empty line created in the beginning end of file and a line with a junk character at the end of file. <BR>I need to ignore those empty lines while parsing and just input the lines with data into Oracle database. <BR>How do I ignore those empty lines while parsing..? <BR><BR>Thanks,