Hi, We are using external ESP jobs to run ReportCaster schedules.Earlier we were using the RESTful API of ReportCaster (IBIRS_action = run) to execute the schedules. Now we had a new requirement to pass parameter values to the ReportCaster schedules and execute it.So we are currently using DSTRUNNOW and it works successfully. But when we used the IBIRS_action = run method it use to return jobID and we used that ID to find the status of the job (completed or ended up in an error).While using DSTRUNNOW method it just returns a text "ReportCaster Transaction successfully executed".This happens even if the procedure in the schedule ends up in error. We tried to go use the timestamp columns from the BOTLOG2 tables to get the latest job ID and find its status.But the timestamp is "1534201398341".We couldn't find what format is this timestamp.Can someone explain me how this can be converted to a proper timestamp(MM/DD/YYYY) or explain the current format of the time stamp. We are trying to pass parameters to the schedule and also find the status of that job,both using the external ESP job.If someone has any suggestions please share.
WF8105M Windows 10This message has been edited. Last edited by: FP Mod Chuck,
November 28, 2018, 10:56 AM
BabakNYC
Are you doing all this in 8.105M? I think in 8.2xx the start and end timestamps are in miliseconds but saved in Alpha.This message has been edited. Last edited by: BabakNYC,
WebFOCUS 8206, Unix, Windows
November 28, 2018, 11:21 AM
Tony A
As per Babak, the timestamps are stored as milliseconds since a base timestamp.
If you have your repository in MS SQL and are using views, then you could use the following to return datetime -
WebFOCUS Server 8.2.01M, thru 8.2.07 on Windows Svr 2008 R2
WebFOCUS App Studio 8.2.06 standalone on Windows 10
November 28, 2018, 04:29 PM
Siva1925
Is there any chance to get the jobID using DSTRUNNOW method.The current ESP job uses the Job ID and waits untio=l that job execution is completed and then archives the report files in the destination path.
November 29, 2018, 03:13 PM
Siva1925
Is there any way to get the &DSTJOBID when the schedule is ran using DSTRUNNOW method.
December 03, 2018, 04:49 AM
Frans
@Siva, why not send the parameters with the Rest API?