Print EMP ID

Hi,

Please find the transaction details in my log.

02:11:02 : Number of parameters - 7
02:11:02 : List of parameters :
sam@intro.com
2345
Sam
02:11:05:The parameters received are :: 
ID:sam@intro.com
Emp Number :2345
 Login Id :Sam
 Login Date :27/08/2009

Due to some java exception, the transaction was failed with the error as
"java.lang.Exception: FAIL" was entered in the log few lines below from Login Date.

Now i need to record the Emp Number into new file if its failed due to "java.lang.Exception: FAIL". Could you please suggest me.Thanks in advance.

I asked you in your former post some minutes ago to use

```text
 and 
```

to display code, data or logs. You still do not. Take this as a warning and edit your post accordingly, ty for your cooperation.

So read the head above the code I gave instead only grabbing the code, ty:
http://www.unix.com/shell-programming-scripting/117212-print-value-few-lines-above.html

Hi,

Thanks for your comments. I updated as per your instructions. Please review and let me know.
Thanks

That's it - very good. Thanks.