Does anyone know how to capture the TSCOMID agent run status to display if a report run is success / failed to users?
RajnaThis message has been edited. Last edited by: FP Mod Chuck,
Excel, PDF, HTML
I could be wrong but I seriously doubt that the tscom session has any clue about if the job was successful or not. Running without errors and running and getting the desired result are 2 different things. If you talking about capturing WebFOCUS errors you can put tests for those in your code, but those should be revealed during development. Getting the correct results should also be part of development. Specifically, what are you trying to capture?
In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
I think this gets it for you (On UNIX use forward slash '/'):
-SET &TSCOMID = EDIT(TOKEN(TEMPPATH(100,'A100'), '\', -2), '$$999999'); -TYPE TSCOMID=&TSCOMID
|Powered by Social Strata|