budimanonly
Technical User
Dear All,
I have a file like this :
----------------------------------------
ES name: LABSC02
Report id: 43
Time: Thu Jun 2 17:46:57 2005
User: bbudiman
Application: SRM
----------------------------------------
*** ALARM 095 A3/APT "VLABSC0230R91A0"A 050602 1744
CELL LOGICAL CHANNEL AVAILABILITY SUPERVISION
CELL SCTYPE CHTYPE CHRATE SPV
LG620D2 BCCH
END
----------------------------------------
ES name: LABSC02
Report id: 43
Time: Thu Jun 2 17:59:05 2005
User: bbudiman
Application: SRM
----------------------------------------
*** ALARM CAEASING 095 A3/APT "VLABSC0230R91A0"A 050602 1750
CELL LOGICAL CHANNEL AVAILABILITY SUPERVISION
CELL SCTYPE CHTYPE CHRATE SPV
LG620D2 BCCH
END
----------------------------------------
And the output will be :
LABSC02 LG620D2 ALARM 050602 1744
LABSC02 LG620D2 ALARM CAEASING 050602 1750
(LABSC02 is taken from ES name, "ALARM" and "ALARM CEASING" is taken after "***" character, "050602 1744" is the alarm date and "050602 1750" is the ceasing alarm.
Is there anobody can help.
BR,
Budiman
I have a file like this :
----------------------------------------
ES name: LABSC02
Report id: 43
Time: Thu Jun 2 17:46:57 2005
User: bbudiman
Application: SRM
----------------------------------------
*** ALARM 095 A3/APT "VLABSC0230R91A0"A 050602 1744
CELL LOGICAL CHANNEL AVAILABILITY SUPERVISION
CELL SCTYPE CHTYPE CHRATE SPV
LG620D2 BCCH
END
----------------------------------------
ES name: LABSC02
Report id: 43
Time: Thu Jun 2 17:59:05 2005
User: bbudiman
Application: SRM
----------------------------------------
*** ALARM CAEASING 095 A3/APT "VLABSC0230R91A0"A 050602 1750
CELL LOGICAL CHANNEL AVAILABILITY SUPERVISION
CELL SCTYPE CHTYPE CHRATE SPV
LG620D2 BCCH
END
----------------------------------------
And the output will be :
LABSC02 LG620D2 ALARM 050602 1744
LABSC02 LG620D2 ALARM CAEASING 050602 1750
(LABSC02 is taken from ES name, "ALARM" and "ALARM CEASING" is taken after "***" character, "050602 1744" is the alarm date and "050602 1750" is the ceasing alarm.
Is there anobody can help.
BR,
Budiman