print certain pattern from 2 lines

i have 2 lines comming out of a script o/p.below the line.

2008-10-14 05:47:05,551 [Thread-6] INFO - LPBatch: [null, 1-GH32X, null, DC:Tue Oct 14 10:12:37 UTC 2008, null, null, Mon Oct 13 05:00:00 CDT 2008, Mon Oct 13 10:00:00 UTC 2008, Tue Oct 14 04:45:00 CDT 2008, Tue Oct 14 09:45:00 UTC 2008, CC, AMR, 94]

2008-10-14 05:47:05,575 [Thread-6] INFO - Number of Intervals Not Inserted: 1 / 95

--------------------------------------------------------------------------

How to print the below o/p from the above 2 lines:

1-GH32X|CC|AMR|Number of Intervals Not Inserted: 1 / 95

------------------------------------------------------------------------

like wise my final o/p varies depending on the above 2 lines but it has to print in this fashion.plz help me in this

Are the two lines always consecutive?
Are there only two lines, and always two lines?

It would probably be helpful to see a slightly larger sample file - perhaps maybe three pairs of data records? This makes it easier to write a command to extract appropriate data.

Actually according to my script 3 lines will be outputed whenever a pattern is matched

Pattern line
next immediate 2 lines
--------------------------------------------------------------------------

Also the next 2 immediate line varies with each pattern found

below few examples:

2008-10-14 05:47:05,551 [Thread-6] ERROR - CleanLPDataMessage: Missing Intervals: 1
2008-10-14 05:47:05,551 [Thread-6] INFO - LPBatch: [null, 1-GH32X, null, DC:Tue Oct 14 10:12:37 UTC 2008, null, null, Mon Oct 13 05:00:00 CDT 2008, Mon Oct 13 10:00:00 UTC 2008, Tue Oct 14 04:45:00 CDT 2008, Tue Oct 14 09:45:00 UTC 2008, CC, AMR, 94]
2008-10-14 05:47:05,575 [Thread-6] INFO - Number of Intervals Not Inserted: 1 / 95
*********************************************

2008-10-14 05:50:54,072 [Thread-6] ERROR - CleanLPDataMessage: Missing Intervals: 1
2008-10-14 05:50:54,072 [Thread-6] INFO - LPBatch: [null, 1-150KP1, null, DC:Tue Oct 14 10:16:52 UTC 2008, null, null, Mon Oct 13 04:45:00 CDT 2008, Mon Oct 13 09:45:00 UTC 2008, Tue Oct 14 04:45:00 CDT 2008, Tue Oct 14 09:45:00 UTC 2008, CC, AMR, 95]
2008-10-14 05:50:54,101 [Thread-6] INFO - Number of Intervals Not Inserted: 1 / 96
****************************************************

2008-10-14 05:55:41,604 [Thread-6] ERROR - CleanLPDataMessage: Missing Intervals: 1
2008-10-14 05:55:41,604 [Thread-6] INFO - LPBatch: [null, 1-VWEMR, null, DC:Tue Oct 14 10:22:06 UTC 2008, null, null, Mon Oct 13 04:30:00 CDT 2008, Mon Oct 13 09:30:00 UTC 2008, Tue Oct 14 05:00:00 CDT 2008, Tue Oct 14 10:00:00 UTC 2008, CC, AMR, 97]
2008-10-14 05:55:41,634 [Thread-6] INFO - Number of Intervals Not Inserted: 1 / 98

*********************************************

So i wanted the o/p in the below fashion

1-GH32X|CC|AMR|Number of Intervals Not Inserted: 1 / 95
1-150KP1|CC|AMR|Number of Intervals Not Inserted: 1 / 96
1-VWEMR|CC|AMR|Number of Intervals Not Inserted: 1 / 98