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.
I'm trying to run a scheduled RC job by using DSTRUN and have a couple of questions. I've used the example in the documentation. At first I was getting an error 189, then for whatever reason it stopped. Now I get no error messages but also no report. 1. The example says the procedure is on a Windows box. Is DSTRUN supported on other platforms? Can I run a job in RC on a linux platform from a WF server on Z/OS (Unix System Services)? 2. The 'webhost' parameters is described as the WF Reporting Server with the default port number 80. That port (80) is the default port number of a webserver, not a WF Reporting Server. What is supposed to be used for that parm? 3. For the userid/mypass parm, is that supposed to be a valid MR user id or a valid WF Server id or both? 4. Can someone post an example of a procedure where they call DSTRUN and give a little better explanation of the parms than the documentation does?
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
Hi Darin, It's been awhile since I have used it, but hes an example...
-SET &VAR1 = 'CTYPARM=' | 'FRANCE'; -SET &LEN = &VAR1.LENGTH; FILEDEF SUBLOG DISK C:ibi\srv71\wfs\catalog\sublog.ftm -RUN -SET &ECHO=ALL; -SET &SUBERR = DSTRUN( - 'rj11254',7, (Reporting Server id) - 'XXXXXX',6, (Reporting Server pwd) - 'SERVERNAME',10, (Reporting Server host name) - 'S12227uli307',12, (Schedule id) - 'myjob1',6, (Job Description) - 5, (Priority level) - 'admin1',6, (The id that owns the schedule) - &VAR1, &LEN, (Parm string - parameter and value) - ' ',0, (Web server id/password if security on) - 0, (Method used to secure sockets from TCP/IP) - 'I4'); (Format of return code) - INCLUDE DSTRUNER - WRITE SUBLOG &SUBERR - EXIT Yes. It can run on another platform. If this doesn't help, post your code.
Regards, Rich
WebFOCUS 8202 Win 2012 Test - WebFOCUS 8203 on Win 2012
So how does this actually get to Report Caster? If I'm only giving the SERVERNAME, how does this know where ReportCaster is? I've taken Rich's example and inserted my values with no result. In fact, I changed uersname, password, and server host name to invalid values, but I don't get any error message. It's like it's not doing anything at all.
Here's the config: RC is on Linux box (IBIREPORTS). There is also a WF Server on that box(IBIREPO) but it isn't involved in anything (as far as I know). The client, web server, and appserver (WebSphere) are also on Linux. The scheduled task runs a server procedure on a USS WF Server (ADPROD). I am executing the DM Code from that ADPROD server.
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
Prarie, Is WEBFSAHQ01 a machine name or a WF Server name (node)? Does everything (this fex, WF Server, RC) reside on the same Windows platform? I see you're not using the password variable - is security off?
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
I have seen all the dialogue's back and orth for dstrun. So let me add my contribution here. I am runing on a Unix platform in wf5.36. I too get a zero rc from the job, yet no report. The zero return code simply means the parser requirements were met. to find the server name to use check 'the host' value in report caster portion of the admin console for accurate server name. Unix case sensitive (remember).
So DSTRUN doesn't work for you either Ira? Or did you find some way to get it going?
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
Figured it out. The user id/pass that you use must be a valid MR user as well as a valid user on the WF Reporting Server platform. I tried using the MRE admin id with no luck, then I tried using a user id for the WF Reporting Server platform with no luck. When I added the WF Reporting server account as an MR user, it all worked. Maybe that should be clarified in the docs.
BTW: Rich, thanks for reminding me to use the traces. Don't know how many times I've posted that suggestion myself, but still need to be reminded sometimes. (It actually showed the "Authentication failed" message which appears that it should be displayed in a returning HTML page, but for whatever reason does not make it back to the browser.)
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007
Running some diagnostics still at this point. We have reverse proxy in place and maybe the port number is not 80 [the default] for this. Still checking into it. Hope to have it resolved asap.
Yup. Same answer - different question. I was getting no error message at all so I didn't know where to look until I found some naught little error message in the server traces.
Regards,
Darin
In FOCUS since 1991 WF Server: 7.7.04 on Linux and Z/OS, ReportCaster, Self-Service, MRE, Java, Flex Data: DB2/UDB, Adabas, SQL Server Output: HTML,PDF,EXL2K/07, PS, AHTML, Flex WF Client: 77 on Linux w/Tomcat
Posts: 2298 | Location: Salt Lake City, Utah | Registered: February 02, 2007