Super Import Export Automation

I’m trying to automate Super Import Export (the export option), but I can’t get it to work without having a file name in the Export job. I am passing to the export procedure:

Automated - 1
SysID - 1 (this is the correct job number)
File - Export.CSV
Interactive – 0

In the export basic procedure, I have tried with both the Pick Export File at Run-Time option checked and not checked. When it is not checked, I set the file name to !pAutoJob.FileName. If I don’t have the file name in the Export job setup, the user is prompted for the file. I would assume that if I pass the file name into the export procedure, the template will recognize the file. The problem with the file name being part of the Export job is that my user wants to put a date in their export file name.

I suppose I could rename the file after the export is finished, but wanted to see if anyone had any Super ideas on how to get this to work.

Thanks!
Mark

Have you looked in your procedure’s source to see where the export filename is set?

Have you tried adding an ! to the filename to indicate it is a variable e.g.

!ExportFilenameVariable

Sorry, I don’t have the template, these are just standard suggestions for Clarion templates.