I'm trying to import CSV files as my variables in OPL and I can't find any easy way to do it like CSVConnection. Do some of you know how to do it ? I know I can do a script but I would want an other way if it exists
Thanks,
I tried CSVConnection and then linked the connection to my variable like I was doing with SheetRead and SheetConnection but it doesn't work
with csvread and csvpublish
you may have a look at
.mod https://github.com/AlexFleischerParis/zooopl/blob/master/zoocsv.mod
.dat https://github.com/AlexFleischerParis/zooopl/blob/master/zoocsv.dat
or if you want to do everything in scripting see https://github.com/AlexFleischerParis/opltipsandtricks/blob/master/turncsvintodat.mod