Hi
I have to read a file containing the following
What I'm doing at the moment is reading is each part e.g.
SMP _ULD_ARRIVE
SMP _PRO_FLIGHT_BUILD
...
...
...
using an If/Else statement and processing each line and loading each piece of data into a seperate table.
Is this the best and fastest method.
Any help would be great
Thanks
Phil
I have to read a file containing the following
Code:
16.11.05 00:06:02 SMP _ULD_PRIMOS 'PAG 58070BA' 0 'STORAGE' 'BA 164 15NOV05' 'B
A 269 16NOV05'
16.11.05 00:06:02 SMP _ULD_PRIMOS 'PAG 58070BA' ''
16.11.05 00:06:02 SMP _ULD_ENTRY: 'PAG 58070BA' 'UAC77A07'
16.11.05 00:06:02 SMP _MSG_UNIT_UPD: 'PAG 58070BA'
16.11.05 00:06:02 SMP _UNIT_UPD: I 'PAG 58070BA' 'BA 164 15NOV05'
16.11.05 00:06:02 SMP _PARCEL_ENTRY: 'PAG 58070BA' 'BA 164 15NOV05' 0
16.11.05 00:06:02 SMP PUT_STS: allive
16.11.05 00:07:01 SMP _CYCL: 11 FN-Name: 'FLIGHT_BUILD_COMPLETE'
16.11.05 00:07:01 SMP _PRO_FLIGHT_BUILD: 0 flights
16.11.05 00:08:01 SMP _CYCL: 1 FN-Name: 'ULD_ANNOUNCED'
16.11.05 00:08:14 SMP _CASE: received fcode: 3424
16.11.05 00:08:14 SMP _ULD_ARRIVE: 'AKE 32178BA' 'UBB19B1'
16.11.05 00:08:14 SMP PUT_STS: allive
16.11.05 00:08:14 SMP PUT_STS: allive
What I'm doing at the moment is reading is each part e.g.
SMP _ULD_ARRIVE
SMP _PRO_FLIGHT_BUILD
...
...
...
using an If/Else statement and processing each line and loading each piece of data into a seperate table.
Is this the best and fastest method.
Any help would be great
Thanks
Phil