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     [SOLVED...SORT OF]Error in DSTRUN procedure

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[SOLVED...SORT OF]Error in DSTRUN procedure
 Login/Join
 
Platinum Member
posted
hello, I am attempting to run the following DSTRUN procedure and I'm being thrown an error code of 37, which supposedly means 'Port Length is incorrect'

I believe I've counted the number of characters in the string correctly, so I am not sure what is causing this error.

Any help is appreciated. Thanks in advance.


 -SET &var_name = DSTRUN(
- 'myid',4,
- 'mypw',4,
- 'http://wf8prod.dolgen.net:8200',30,
- 'S5028ac3fs55bes45ebsb34bs93aace885b86',37,
- ' ',0,
- 5,
- 'myid',4,
- ' ',0,
- 'myid/mypw',9,
- 'I4');

-TYPE &var_name 

This message has been edited. Last edited by: manglum,


WebFOCUS 8
Windows, All Outputs
 
Posts: 111 | Registered: July 23, 2015Report This Post
Virtuoso
posted Hide Post
According to doc http://webfocusinfocenter.info..._PROCESSING_d0e13603

37 isn't even one of the return codes. You should open a case with tech support to see if they can trace this error.

I think DSTRUN is considered stabilized and you now have to use RESTful WebServices to accomplish this. Check out this link for instructions: http://webfocusinfocenter.info...t/source/topic45.htm

This message has been edited. Last edited by: BabakNYC,


WebFOCUS 8206, Unix, Windows
 
Posts: 1853 | Location: New York City | Registered: December 30, 2015Report This Post
Silver Member
posted Hide Post
The context root, which is ibi_apps by default, is needed also. Try:
quote:
- 'http://wf8prod.dolgen.net:8200/ibi_apps:ibi_apps',48,


WebFOCUS All Releases
 
Posts: 45 | Location: NYC | Registered: September 21, 2007Report This Post
Platinum Member
posted Hide Post
quote:
Originally posted by BabakNYC:
According to doc http://webfocusinfocenter.info..._PROCESSING_d0e13603

37 isn't even one of the return codes. You should open a case with tech support to see if they can trace this error.

I think DSTRUN is considered stabilized and you now have to use RESTful WebServices to accomplish this. Check out this link for instructions: http://webfocusinfocenter.info...t/source/topic45.htm



This post gives an accurate list of DSTRUN error codes.

http://forums.informationbuild...1057331/m/7387006926


WebFOCUS 8
Windows, All Outputs
 
Posts: 111 | Registered: July 23, 2015Report This Post
Platinum Member
posted Hide Post
quote:
Originally posted by Gerry:
The context root, which is ibi_apps by default, is needed also. Try:
quote:
- 'http://wf8prod.dolgen.net:8200/ibi_apps:ibi_apps',48,


I think we are getting closer, but now I'm getting error 18 (Host Name Format Error)


WebFOCUS 8
Windows, All Outputs
 
Posts: 111 | Registered: July 23, 2015Report This Post
Silver Member
posted Hide Post
8200 is typically the port number of the Distribution server. DSTRUN is expecting the web/application server port. Is 8200 the correct port?


WebFOCUS All Releases
 
Posts: 45 | Location: NYC | Registered: September 21, 2007Report This Post
Platinum Member
posted Hide Post
we have tried alternate port numbers. same error message as stated above dealing with the format of the web host portion of the variable.


WebFOCUS 8
Windows, All Outputs
 
Posts: 111 | Registered: July 23, 2015Report This Post
Platinum Member
posted Hide Post
I wanted to post a follow up to this as it was one of the most frustrating endeavors I have experienced so far in my Webfocus learnings.

So after talking to the good folks at Webfocus that support my company I learned that the DSTRUN function is very old and not capable of running in our environment. The exact response was "DSTRUN is an old technique that doesn’t work with https."

So anyone exploring how to run report caster jobs from a webpage, save yourself TONS of wasted time trying to sort through DSTRUN error code deciphering. I would have to imagine most any business these days is running on https.

Anyway, on to the solution, which turns out to be ridiculously easier than DSTRUN.....

Set up a button on your HTML page in dev studio, right click to create a hyperlink, and select URL as your action.

Then as the source, you will type in something similar to this....

 /ibi_apps/servlet/DSTRUNNOW?IBIB_user=username&IBIB_scheduleid=thescheduleidnumber 


That's is! A little frustrating that it took so long to discover this but very pleased with the result.


WebFOCUS 8
Windows, All Outputs
 
Posts: 111 | Registered: July 23, 2015Report 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     [SOLVED...SORT OF]Error in DSTRUN procedure

Copyright © 1996-2020 Information Builders