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.
anybody know how to extract the schedule id from the current running schedule? the way &FOCFOCEXEC gives the name of current fex. I want to use Jodye Yates's cool method for postponing a caster sched, but i want to do it generically, grabbing the schedid from the caster job..('cause every wee change you make to a caster job changes the schedid)
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
I haven't been working with Caster for a while so I'm beginning to forget some stuff, but I think the only way you can determine the Sched ID is to read the appropriate Caster repository table...
Francis
Give me code, or give me retirement. In FOCUS since 1991
Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
that's what i would be doing, within the fex, in order to update the nextruntime. But i'ld like to determine the schedid without having to hardcode it. MODIFY FILE BOTSCHED MATCH SCHEDULEID ON MATCH UPDATE NEXTRUNTIME otherwise go home. Thing is, the schedid changes if you make some modifications to the job, so i don't want to have to remember to re-figure out the new id, and then edit the modify part of the job. It all works ok now, hardcoded. But i wanna bullet-proof it. Moderators...can you get Vincent Lam to log in and tell us how to do this? gracias.
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003
Did you ever get this to work? I posted the exact same question a while ago... and never got an answer. Then I realized that I could simply lookup the scheduleid based on the jobdesc. So if you have access to the jobdesc as a parameter then you are all set.
hmm. what i think i meant was...the way you can extract the userid from a fex-in-action, i wanted to extract the schedule id from a caster-job-in-action. caster changes the schedule id wheneve ryou make changes to the job in some way..and i didn't want to have to keep track manually. i don't want to have to look up by job name...because i don't have the job name either when i'm running...and its a character string, which i'm not fond of using as a lookup..whereas skedid is a nice contiguous fixed-size thingy.
In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
Posts: 3811 | Location: Manhattan | Registered: October 28, 2003