AnsweredAssumed Answered

(CAWA DE) How to convert contents of csv file into a variable?

Question asked by Ken_Ski on Sep 5, 2018
Latest reply on Sep 10, 2018 by Segun_Oduntan

I have a csv file with hundreds of server names in it (File is formatted as: Server=************,Concept=xx,Corpcode=***,TZ=eastern). 

 

Is there a way via javascript I can read a csv input file and convert the value in "Server=" to a $servername variable? In powershell I can use the Import-csv cmdlet and build an array list, but I'm looking to create a variable that I can pass into many individual jobs within espresso.

 

Any comments or input will be greatly appreciated.

Thanks! 

Outcomes