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.
Thanks Francis. I'm not sure where I can run the code though. Can I post to this fex (that has this code) from a selector page I have or does this have to be run through the command line?
I tested the sample code and found it only works when I run DSTRUN for an existing schedule, not for a fex (or "jobdesc") and I'm not sure what's wrong - I get a 112 error, you cannot have both a schedule id and a jobdesc, I tested with a blank shedule id and 0 length...
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
DSTRUN works only with an existing schedule. What I do is set up the schedule. On the Schedule tab, make sure the "Enabled (Sheduled job runs at specified time)" is unchecked. This disables the schedule.
To run the schedule, run the following:
-* File rc_submit.fex
-*
-* This job tell Report Caster to resubmit the desired job for
-* immediate execution.
-*
-* The only parameter is the Report Caster schedule id
-*
-* To use this in a fex, do the following
-* -SET &RCJOBID=scheduld_id;
-* -INCLUDE rc_submit
-*
-* To use this in Report Caster, add the following in the pre or post processing fex
-* baseapp/rc_submit RCJOBID=schedule_id
-*
-SET &SUBERR=
- DSTRUN('eda', 3, (1)
- 'zzzzzz', 6, (2)
- 'kids', 4, (3)
- '&RCJOBID.EVAL',12, (4)
- ' ', 0,
- 3, (5)
- 'admin', 5, (6)
- ' ', 0,
- 'okdhs\m73000/yyyyyyyy', 21, (7)
- 0,'I4');
-IF &SUBERR EQ 0 GOTO NO_ERROR;
-INCLUDE DSTRUNER
FILEDEF SUBLOG DISK &&BASEAPP&RCJOBID...ftm
-RUN2
-WRITE SUBLOG &JOBID &SUBERR
-RUN
-NO_ERROR
where: (1) and (2) are valid login id and password for the Reporting Server; (3) is the ip/dns name of the web server where RC lives (4) is the schedule id (5) is the job priority (6) is the owner of the schedule (7) is a user id and password for the web server. the id also has to be a RC user id.
Hope this helps. Getting #7 right was the hard part for us.
In FOCUS since 1985. Prod WF 8.0.08 (z90/Suse Linux) DB (Oracle 11g), Self Serv, Report Caster, WebServer Intel/Linux.
Posts: 975 | Location: Oklahoma City | Registered: October 27, 2006