1. I need to read a .csv file.
2. The .csv file gets generated whenever there is a change in a particular file (its kind of monitoring)
3. When the .csv file gets generated, I need to read the .csv file and the contents of the .csv file is as shown below
Code: Select all
"Environment Name","Impact","Operation","Path","Parameter","Current","When","Previous","Flagged as Suspect"
"ww12423.com/Sam","Unclassified","Property Updated","E:/Sam/web.xml/web-app/servlet-mapping","servlet-name","HelloServlet.class","November 20, 2017 10:54:32","HelloServlet","false"
where the "Environment Name" is the "ww12423.com/Sam"
"Impact" is "Unclassified"
"Operation" is "Property Updated"
"Path" is "E:/Sam/web.xml/web-app/servlet-mapping"
"Parameter" is "servlet-name"
"Current" is "HelloServlet.class"
"When" is "November 20, 2017 10:54:32"
"Previous" is "HelloServlet"
"Flagged as Suspect" is "false"
Now I want to map this parameter to respective variables in another executable so that I can send this as an alert.
I did map it but I am getting the "system environment variables", I have depicted in a image format
Could you help or guide me how to get this output?
Thanks,
Dinesh