Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

Parse CSV File

$
0
0

I Have this CSV File like below:

Site,Prime,Mfg,Model,Serial Number,Asset,Host name,PO,Contact,Location,Carrier,Tracking Number,Order in rack (1 is bottom),MAC1,MAC2,MAC3,MAC4,WWN1,WWN2,WWN3,WWN4,MAC5,MAC6,MAC7,FUNCTION,RACK,POD

LocationA,,HP,ModleA,,,server001,,,,,,20,,,,,,,,,,,,,Rack1,POD001

LocationB,,HP,ModleA,,,server002,,,,,,19,,,,,,,,,,,,,Rack1,POD001

LocationC,,HP,ModleA,,,iserver003,,,,,,18,,,,,,,,,,,,,Rack1,POD001

LocationB,,HP,ModleA,,,server004,,,,,,17,,,,,,,,,,,,,Rack1,POD001

LocationA,,HP,ModleA,,,server005,,,,,,16,,,,,,,,,,,,,Rack1,POD001

 

Is there a way to parse it into name/value pair arrays so then I can use a sql script to import the data?


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>