Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
Can any one please help me to write a BATCH file for my below requirement.
I've 20 different text files in a folder.
I need to read each and every file for fetching certain details, and finally i need to generate a text file with the collected details.Each file contains details like this :
DIRECTOR> TM_6014 Initializing session [s_UPDATE_LOAN_DELINQUENCY] at [Sun Oct 15 22:37:09 2006]
DIRECTOR> TM_6252 Source Load Summary.
DIRECTOR> CMN_1740 Table: [SQ_STG_LSLON] (Instance Name: [SQ_STG_LSLON])
Output Rows [2173188], Affected Rows [2173188], Applied Rows [2173188], Rejected Rows [0]
DIRECTOR> TM_6253 Target Load Summary.
DIRECTOR> CMN_1740 Table: [LOAN_DELINQUENCY] (Instance Name: [LOAN_DELINQUENCY_UPDATE])
Output Rows [2173080], Affected Rows [2173080], Applied Rows [2173080], Rejected Rows [0]
DIRECTOR> TM_602
DIRECTOR> TM_6020 Session [s_UPDATE_LOAN_DELINQUENCY] completed at [Mon Oct 16 00:28:11 2006]I need to fetch start time, end time, no of records loaded. Here in this case, the start time is Oct 15 22:37:09 2006
End time is Oct 16 00:28:11 2006
No of records loaded are 2173080I am waiting for some good solutions from you friends. Can any one please help me

Go here, this is the XP forum what you want is the prommaming forum...
http://computing.net/programming/ww...
Quote: Artificial intelligence is no match for natural stupidity!
The anagram of computervitals is pivotal rectums...

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |