Focal Point
[SHARING] ReportCaster: -EXIT in code kills & variable in attachment name

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/6867078096

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.


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!