Focal Point
[CLOSED] tscomid session status

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

October 14, 2020, 05:21 PM
Rajna Nannat
[CLOSED] tscomid session status
Hi,

Does anyone know how to capture the TSCOMID agent run status to display if a report run is success / failed to users?

Thanks,
Rajna

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8.1.05
Windows
Excel, PDF, HTML
October 15, 2020, 09:19 AM
jgelona
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.
October 15, 2020, 09:40 AM
dbeagan
I think this gets it for you (On UNIX use forward slash '/'):

-SET &TSCOMID = EDIT(TOKEN(TEMPPATH(100,'A100'), '\', -2), '$$999999');
-TYPE TSCOMID=&TSCOMID



WebFOCUS 8.2.06
November 02, 2020, 05:48 PM
Rajna Nannat
We need to get the agent status if it is getting crashed in logs. Is there any variable ? We have a front end HTML where users can see the report run status and there we are using a DB table inbuild which is not capturing crash cases and stays "In progress" status due to this.


WebFOCUS 8.1.05
Windows
Excel, PDF, HTML
November 09, 2020, 11:19 AM
FP Mod Chuck
Rajna

I don't think there is a variable. Techsupport is your best bet for seeing if this information is available.


Thank you for using Focal Point!

Chuck Wolff - Focal Point Moderator
WebFOCUS 7x and 8x, Windows, Linux All output Formats