Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     NextRunTime for RunOnceImmediately

Read-Only Read-Only Topic
Go
Search
Notify
Tools
NextRunTime for RunOnceImmediately
 Login/Join
 
<Navin>
posted
All

For the RunOnceImmediately schedules , the NEXTRUNTIME value is being automatically set to '00000000000009223372036854775807'.

Which falls out of 12/31/9999.

I am checking for the next run date from the BOTSCHED table for each schedules.FOr other schedules say One Time, Weekly , Monthly i cude fetch the nextruntime successfully.

But whereas , for the RunOnceImmediately schedules i am getting an error .

I am using the following query to fetch the nextruntime value.

---------------
select TO_DATE('01/01/1970','MM/DD/YYYY')+((((to_number(NEXTRUNTIME))/1000)/(60*60*24))-8/24) nextrun
from botsched;

Please Advice
 
Report This Post
Expert
posted Hide Post
Hi Navin,

Has this issue been resolved?

If not, I am wondering, can you please let us know, for the RunOnceImmediately schedules, do you receive any error message? More details may be helpful in understanding the problem.

Thank you in advance for sharing with all. Smiler

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
<Navin>
posted
Sorry Kerry

I should have posted you all wen i got a solution.Sorry for the delay anyway.

Actually the reason is , the NEXTRUNTIME will be encrypted and stored for the schedules that are completed.That value can only be read by the distribution server . We should not apply our usual logic for retrieving the nextruntime value for the completed schedules.

SO i did a decode() function in my oracle query so that i get no error .
like,
(decode(b.nextruntime,'00000000000009223372036854775807','00000000000000003372036854775807')

So in the front end upon interpreting this i can handle it as completed
 
Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     NextRunTime for RunOnceImmediately

Copyright © 1996-2020 Information Builders