I'm having issues with a print command. Recently wrote a couple scripts that create a couple folders that the reports write to. Works well in test programs, but running it in a customer program, the folder are created, but the print command changes from OVERWRITE to AUTO, and opens up the prompt to save ignoring the assignment with the file path. Any insight would be appreciated.
Code:
Code:
Code:
IF/C4.INPUT=="1" ASSIGN/SAVEPATH=""+PATH+"\\"+JOBNUM+"\\"+OP30+"\\"+V1+"_"+V2+"_TOP.pdf" END_IF/ IF/C4.INPUT=="2" ASSIGN/SAVEPATH=""+PATH+"\\"+JOBNUM+"\\"+OP50+"\\"+V1+"_"+V2+"_TOP.PDF" END_IF/ IF/C4.INPUT=="3" ASSIGN/SAVEPATH=""+PATH+"\\"+JOBNUM+"\\"+OP90+"\\"+V1+"_"+V2+"_TOP.pdf" END_IF/ PRINT/REPORT,EXEC MODE=END,$ TO_FILE=ON,OVERWRITE=SAVEPATH,AUTO OPEN REPORT=OFF,$ TO_PRINTER=OFF,COPIES=1,$ TO_DMIS_REPORT=OFF,FILE_OPTION=INDEX,FILENAME=,$ REPORT_THEORETICALS=NONE,REPORT_FEATURE_WITH_DIMENSIONS=NO,$ TO_EXCEL_OUTPUT=OFF, PREVIOUS_RUNS=DELETE_INSTANCES
Comment