Very urgent question please!!!!


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Very urgent question please!!!!
# 1  
Old 01-30-2012
Very urgent question please!!!!

I have a file like below. I need from each group of messages only first lines after error. Could you pleasde help me to write a correct program?

expected output is like this "Error 126614 in debt instrument header for debt instrument ID 10115537: The
rating reason RATING AFFIRMED selected for rating class Senior Secured is not a
withdrawal reason. Please select a withdrawal reason."


Msg 126614, Level 16, State 1:
Server 'LQA_DDS2', Procedure 'rdp_raise_error_exe', Line 148:

Error 126614 in debt instrument header for debt instrument ID 10115537: The
rating reason RATING AFFIRMED selected for rating class Senior Secured is not a
withdrawal reason. Please select a withdrawal reason.
Msg 126612, Level 16, State 1:
Server 'LQA_DDS2', Procedure 'rdp_raise_error_exe', Line 148:
Error 126612 in debt instrument header for debt instrument ID 10115537: Current
WR rating does not have active MIS WR Compliance Reason for rating class Senior
Secured.
Msg 126612, Level 16, State 1:
Server 'LQA_DDS2', Procedure 'rdp_raise_error_exe', Line 148:
Error 126612 in debt instrument header for debt instrument ID 10115537: Current
WR rating does not have active CESR WR CEREP Reason for rating class Senior
Secured.
Msg 118158, Level 16, State 1:
Server 'LQA_DDS2', Procedure 'rdp_raise_error_exe', Line 148:
Error 118158 in ratings for debt instrument ID 10115537: Rating direction
'RATING AFFIRMATION' is not valid for the rating dated 'Jan 27 2012 6:30PM'.

------------------------------------------------------------------------------------
This 10115537is not processed due to failure in rde_object_upd

(1 row affected)
Msg 118153, Level 16, State 1:
Server 'LQA_DDS2', Procedure 'rdp_raise_error_exe', Line 148:
Error 118153 in ratings for debt instrument ID 10115718: This rating is/was on
watch as of the given rating date.
Msg 118162, Level 16, State 1:
Server 'LQA_DDS2', Procedure 'rdp_raise_error_exe', Line 148:
Error 118162 in ratings for debt instrument ID 10115718: This item cannot be
rated while it is on watch.

------------------------------------------------------------------------------------
This 10115718is not processed due to failure in rde_object_upd
# 2  
Old 01-30-2012
Everyone at the UNIX and Linux Forums gives their best effort to reply to all questions in a timely manner. For this reason, posting questions with subjects like "Urgent!" or "Emergency" and demanding a fast reply are not permitted in the regular forums.

For members who want a higher visibility to their questions, we suggest you post in the Emergency UNIX and Linux Support Forum. This forum is given a higher priority than our regular forums.

Posting a new question in the Emergency UNIX and Linux Support Forum requires forum Bits. We monitor this forum to help people with emergencies, but we do not not guarantee response time or best answers. However, we will treat your post with a higher priority and give our best efforts to help you.

If you have posted a question in the regular forum with a subject "Urgent" "Emergency" or similar idea, we will, more-than-likely, close your thread and post this reply, redirecting you to the proper forum.

Of course, you can always post a descriptive subject text, remove words like "Urgent" etc. (from your subject and post) and post in the regular forums at any time.


Thank you.

The UNIX and Linux Forums
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

URGENT Reading a file and assessing the syntax shell script URGENT

I am trying to write a shell script which takes an input file as an arguement in the terminal e.g. bash shellscriptname.sh input.txt. I would like for the file to be read line by line each time checking if the .txt file contains certain words or letters(validating the syntax). If the line being... (1 Reply)
Discussion started by: Gurdza32
1 Replies

2. HP-UX

Make_Recovery Question Urgent Plse Respond

I have a make_recovery tape, if I restore the VG00 volume group using this, will my other volume groups still be ok after the restore(I have 7 data volume groups) I used make_recovery -A to create the tape I have a HP9000 HP-UX 11 An internal disk is failing, the other volume groups are on... (3 Replies)
Discussion started by: rees_a
3 Replies

3. Shell Programming and Scripting

Urgent Awk Question

I need to get the lines in a log file matching a particular string, and print out the output to the screen from the point of the match, to the end of the file. I know this code does it: awk '/regex/,0' but the string I need to search for inside the log file looks something like this: ... (4 Replies)
Discussion started by: SkySmart
4 Replies

4. Solaris

MB/P0/F0 urgent question

I have sunfire question and getting the following error message through prtdiag. MB/P0/F0 RS failed 0 rpm What it means? Please help me ASAP. (2 Replies)
Discussion started by: mokkan
2 Replies

5. Shell Programming and Scripting

URGENT grep question

I want to grep "abc" from "logyy". I want not only the instance of "abc" to return, but the line just above it as well (no matter what it is). :) Can some one please assit me to drive on this (2 Replies)
Discussion started by: NIMISH AGARWAL
2 Replies

6. Shell Programming and Scripting

Shell script interview question...help required urgent!!!

hi i have cancelled my previous post (2 Replies)
Discussion started by: choco4202002
2 Replies

7. Shell Programming and Scripting

One Last Question about Core Files (distinguish) URGENT

now, what do you define as core files. there are some files outthere with the name perl.core, I-core.png, core.png I mean, are these classified as core files too??? i thought core files are simply files called "core". Please help me out this is urgent (2 Replies)
Discussion started by: TRUEST
2 Replies

8. Shell Programming and Scripting

File Existence Question (Urgent)

G'day all Just wondering if anyone can help me, is it possible, within a Bourne Shell script, to check if a entered file exists? :confused: An example would be (And this is the reason why I'm asking) If I was to write a super-basic backup script, and the user entered a filename, what sort of... (2 Replies)
Discussion started by: Aussie_Bloke
2 Replies
Login or Register to Ask a Question