I have a text report from some software. I'm trying to collect the data from the text file into a meaningful data structure and I would like some suggestions for this. The data is set in a text file as follows:
==========================================================
Item* Part#*Plant......................... XPL Description.............. Quantity.. Rev# Ref.Desig/ECO#.Date/Alt.Parts.Qty
Notes.....
1 .2605009000 VALVE,CHK, VACUUM 1.0000 00 V6------------DECARBONATOR VENT CHECK VALVE
VALVE,CHECK,VACUUM,01.000"OD,FOR STANDARD TRI-CLAMP
FERRULES,FDA EPDM SEALS,FDA VITON SEAT,1/8PSI CRACKING
PRESSURE,316SST
NOTE TO VENDOR: VALVES TO BE TAGGED WITH MECO PART NUMBERS
CHECK ALL VALVE #SCV-100-SS-FV-1/8
2 .2604826000 VALVE,DPH, 00.500"TC 1.0000 5 V8------------DISTILLATE PUMP CASING DRAIN VALVE
VALVE,DIAPH,00.500"TRI-CLAMP,316LSST FORGED BODY,TEFLON
DIAPHRAGM W/EPDM BACKING,25RA FINISH INTERIOR,FOUNDRY
FINISH EXTERIOR,WITH PAS PLASTIC BONNET
NOTE: CMTR FOR BODY,C OF C FOR FDA CFR 21 AND
USP CLASS VI MUST ACCOMPANY VALVE
ITT PURE-FLO #.5-F-419-6-0-0-TM17-963-M2-SQDB-SQD18
============================================================
I've been trying to set up the structure as such
item 1 = (1, 2605009000, CHK VALVE, [V6])
item 2 = (2, 2604826000, DPH VALVE, [V8])
Now, each record will have one item number, one part number and one short description, but can have multiple tags.
Does this structure seem logical?
Shawn Way
==========================================================
Item* Part#*Plant......................... XPL Description.............. Quantity.. Rev# Ref.Desig/ECO#.Date/Alt.Parts.Qty
Notes.....
1 .2605009000 VALVE,CHK, VACUUM 1.0000 00 V6------------DECARBONATOR VENT CHECK VALVE
VALVE,CHECK,VACUUM,01.000"OD,FOR STANDARD TRI-CLAMP
FERRULES,FDA EPDM SEALS,FDA VITON SEAT,1/8PSI CRACKING
PRESSURE,316SST
NOTE TO VENDOR: VALVES TO BE TAGGED WITH MECO PART NUMBERS
CHECK ALL VALVE #SCV-100-SS-FV-1/8
2 .2604826000 VALVE,DPH, 00.500"TC 1.0000 5 V8------------DISTILLATE PUMP CASING DRAIN VALVE
VALVE,DIAPH,00.500"TRI-CLAMP,316LSST FORGED BODY,TEFLON
DIAPHRAGM W/EPDM BACKING,25RA FINISH INTERIOR,FOUNDRY
FINISH EXTERIOR,WITH PAS PLASTIC BONNET
NOTE: CMTR FOR BODY,C OF C FOR FDA CFR 21 AND
USP CLASS VI MUST ACCOMPANY VALVE
ITT PURE-FLO #.5-F-419-6-0-0-TM17-963-M2-SQDB-SQD18
============================================================
I've been trying to set up the structure as such
item 1 = (1, 2605009000, CHK VALVE, [V6])
item 2 = (2, 2604826000, DPH VALVE, [V8])
Now, each record will have one item number, one part number and one short description, but can have multiple tags.
Does this structure seem logical?
Shawn Way