Focal Point
API to track the sequence of execution of scheduled job in ReportCaster

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

November 05, 2008, 07:16 AM
Fazlina
API to track the sequence of execution of scheduled job in ReportCaster
We are scheduling few jobs in report caster and have the distribution mode as FTP and set the Notification as "Always". In the sequence of our execution, once the report is FTPed, it will be ingested into Ondemand (Data library). After that ingestion status will be updated in two tables in the Oracle DB. As per the design, only after this table update happens, the mail notification has to be sent. But currently as soon as the file is FTPed the mail is sent.

The ingestion to Ondemand and Table updates are not carried out through Report Caster. Is there any API to track the sequence of steps undergo by ReportCaster (as the MESSAGE column contains in Botlog2 table) and to stop and resume it later as needed.

This message has been edited. Last edited by: Kerry,
November 05, 2008, 07:45 AM
hammo1j
You could use the dos command sleep to synchonise on the existence of a file created by the other process in a loop

http://malektips.com/xp_dos_0002.html

-SET &FOUND = 'N' ;
-REPEAT :LOOP 10 TIMES WHILE &FOUND EQ 'N' ;
STATE file
-RUN
-SET &FOUND = IF &RETCODE EQ 0 THEN 'Y' ELSE 'N' ;
-* sleep command ensures we dont kill the CPU.
DOS SLEEP 8
-:LOOP0



Server: WF 7.6.2 ( BID/Rcaster) Platform: W2003Server/IIS6/Tomcat/SQL Server repository Adapters: SQL Server 2000/Oracle 9.2
Desktop: Dev Studio 765/XP/Office 2003 Applications: IFS/Jobscope/Maximo
November 13, 2008, 11:55 AM
Kerry
Hi Fazlina,

If you are still searching an API to work, usually the suggestion is to open a case with Information Builders' Customer Support Services for assistance, as Focal Point is not the best place for API's. To open a case, you may either call 1-800-736-6130, or access online at InfoResponse.

Hope this helps.

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
November 17, 2008, 04:12 AM
Fazlina
I have raised a case with IBI. Unfortunately they told that there is no such API and suggested to post in the forum to get a solution or work around. :-(