April 24, 2007, 02:21 PM
Darin LeePrarie,
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?
April 24, 2007, 02:44 PM
PrarieWEBFSAHQ01 is Server Name. Yes it is all on the same platform. Security is not off...but I just found I didn't need to use the password, not sure why.
| In Focus since 1993. WebFOCUS 7.7.03 Win 2003 |
April 25, 2007, 08:07 AM
iraI 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).
aix-533,websphere 5.1.1,apache-2.0,
wf 538(d), 537 (p),
==============
7.6.11 (t) aix 5312
websphere 6.1.19
apache 2.0
April 25, 2007, 08:31 AM
RichHDarin,
Turn the reporting server traces on and see whats causing the problem.
Rich
WebFOCUS 8202 Win 2012
Test - WebFOCUS 8203 on Win 2012
April 26, 2007, 12:02 PM
Darin LeeSo 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
April 26, 2007, 12:45 PM
Darin LeeFigured 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
April 27, 2007, 10:34 AM
iraRunning 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.
Ira
aix-533,websphere 5.1.1,apache-2.0,
wf 538(d), 537 (p),
==============
7.6.11 (t) aix 5312
websphere 6.1.19
apache 2.0
WF 8.1.05 Windows
April 27, 2007, 03:31 PM
Darin LeeYup. 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
June 12, 2007, 11:35 AM
<Barry>DSTRUN gave us a hard time because it calls DSTRUNNOW (servlet) and could not find it until the &PATH was set correctly
-SET &PATH = WebfocusClient: port Number/SecondaryPath/ibi_apps:SecondaryPath/rcaster';
-SET &DSched = '&SchedID.EVAL';
-SET &SchedLen = ARGLEN(&DSched.LENGTH,&DSched,'I4');
-SET &DUID = '&UserID.EVAL';
-SET &DLEN = 'A' || &DUID.LENGTH;
-SET &UserID = LOCASE(&DUID.LENGTH,&DUID, '&DLEN');
-SET &UIDLen = ARGLEN(&DUID.LENGTH,&DUID,'I4');
-SET &DPATH = '&PATH.EVAL';
-SET &PATHLen = ARGLEN(&DPATH.LENGTH,&DPATH,'I4');
-SET &SUBERR=DSTRUN(&UserID,7,
- '',0,
- &PATH,&PATHLen,
- &SchedID,&SchedLen,
- '',0,
- 5,
- &UserID,&UIDLen,
- '',0,
- &UserID,&UIDLen,
- '',0,
- 'I4');
-*GOTO theEND