October 23, 2018, 10:36 PM
Waz[SHARING] ReportCaster: -EXIT in code kills & variable in attachment name
Just a quick note to anyone using an amper variable in the attachment name in report caster, -EXIT in your code will kill the evaluation.
This is the case in 8.1.04, not tested any other version.
Basically there is a line that gets added to the report run that is a -TYPE of the attachment name that should return the to RC the evaluated name.
e.g.
-* My code
-EXIT
.
.
.
-TYPE %%SAVEAS%%MyReportName&SCHED_TS
The -EXIT stops execution before the -TYPE is run.