Skip to main content
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Lotus Workflow Forum

Lotus Workflow Forum

developerWorks

  

Sign in to participate PreviousPrevious NextNext


Liav Vana 31.Aug.10 01:02 AM a Web browser
General All Releases Windows XP


Since yesterday all my agents are failing execute queries. All agents have same query (The query is quite complex but works. if you need to see I can show it). The query access BMT tables and the execution is done by the following commands:
If src.Execute(q,fldLst)=0 Then
Print "No records fetched"
End
End if
* q holds the query script. fldLst is LCFieldList which stores all the data after execution But all agents get returned result 0 which causes to end the agent.
Can you tell me why is it happening ? I used these agents on a weekly basis for 2-3 years without any such problem. I don't remember what was the returned result but I think it was -1.
I have to say that if I run the same query with db2 command line I get result correctly but doing the same by LotusScript agent causes the execute command to return zero.
I contacted today with BMT people which told me since BMT works fine they are not in the position to support LotusScript. There are various possibilities to access BMT and they don't know them all.
I also checked what will happen if I will remove the if statement, and I saw that the agent works fine. so probably something was changed in dealing with the returned result (zero now doesn't tell that there are no records fetched).

I'm quite lost with this issue and hopes you can help!

Please advise!

Liav






error in fetching records in LotusS... (Liav Vana 31.Aug.10)
. . RE: error in fetching records in Lo... (Mike Edgewater 2.Dec.10)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
Notes/Domino 4 and 5
IBM Connections
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
IBM SmartCloud Meetings
IBM Web Content Manager
Lotus Domino Document Manager
Lotus e-learning
Lotus Enterprise Integration
Lotus Expeditor
Lotus Protector
Lotus Quickr
Lotus SmartSuite
Lotus Symphony
Lotus Symphony Developer Toolkit Support
Lotus Workflow