Digital Developer Conference: a FREE half-day online conference focused on AI & Cloud – North America: Nov 2 – India: Nov 9 – Europe: Nov 14 – Asia Nov 23 Register now

Close outline
  • United States
IBM?
  • Site map
IBM?
  • Marketplace

  • Close
    Search
  • Sign in
    • Sign in
    • Register
  • IBM Navigation
IBM Developer Answers
  • Spaces
    • Blockchain
    • IBM Cloud platform
    • Internet of Things
    • Predictive Analytics
    • Watson
    • See all spaces
  • Tags
  • Users
  • Badges
  • FAQ
  • Help
Close

Name

Community

  • Learn
  • Develop
  • Connect

Discover IBM

  • ConnectMarketplace
  • Products
  • Services
  • Industries
  • Careers
  • Partners
  • Support
10.190.13.195

Refine your search by using the following advanced search options.

Criteria Usage
Questions with keyword1 or keyword2 keyword1 keyword2
Questions with a mandatory word, e.g. keyword2 keyword1 +keyword2
Questions excluding a word, e.g. keyword2 keyword1 -keyword2
Questions with keyword(s) and a specific tag keyword1 [tag1]
Questions with keyword(s) and either of two or more specific tags keyword1 [tag1] [tag2]
To search for all posts by a user or all posts with a specific tag, start typing and choose from the suggestion list. Do not use a plus or minus sign with a tag, e.g., +[tag1].
  • Ask a question

Datacap NENU Not Connecting to Application

270006WF97 gravatar image
Question by John.D.Skiff  (0) | Jun 06, 2016 at 10:40 PM datacapnenu

Built a nenu application in 9.0.1 following the normal specifications. But it cannot connect to different applications on the same server. I've tested to see if my nenu settings are sane by copying the ruleset into the application and it works without fail. But from a nenu application to a different application, not working. It fails when attempting to run the query. I have reduced the query to most basic set of parameters; essentially any list of "Web Job" batches, but it still fails. Any ideas?

People who like this

  0
Comment
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

4 answers

  • Sort: 
270006H8YT gravatar image

Answer by Tom Price (1431) | Jun 07, 2016 at 08:48 AM

What is the actual error you are receiving in the NENU_RRS log?

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
270006WF97 gravatar image

Answer by John.D.Skiff (0) | Jun 07, 2016 at 02:25 PM

Yes, I suppose that would've helped. Here is where it errors out from the log file, although it doesn't show as an error.

16:38:50.991 (0) t:F58 p:79CB7B8 action ProcessRunSqlQuery ()
16:38:50.991 (0) t:F58 p:79CB7B8 execute statement On Action Start
16:38:50.991 (0) t:F58 p:79CB7B8 nothing to exec
16:38:50.991 (0) t:F58 p:79CB7B8 /execute statement On Action Start
16:38:50.991 (0) t:F58 p:79CB7B8 call "Datacap.Libraries.Nenu.Actions->Datacap.Libraries.Nenu.Actions->ProcessRunSqlQuery"
16:38:50.991 (0) t:F58 p:79CB7B8 result 1[1] = false
16:38:50.991 (0) t:F58 p:79CB7B8 /call
16:38:50.991 (0) t:F58 p:79CB7B8 action returned false
16:38:50.991 (0) t:F58 p:79CB7B8 execute statement On Action False
16:38:50.991 (0) t:F58 p:79CB7B8 nothing to exec
16:38:50.991 (0) t:F58 p:79CB7B8 /execute statement On Action False
16:38:50.991 (0) t:F58 p:79CB7B8 /action

Note, I have tried setting this up different ways, the basic ruleset here is as follows:

SetupDisconnectAll

SetupOpenApplicationEx("TravelDocs", , , "True", Admin, Admin, 1

QueryClear()

QuerySetJobID("Web Job")

ProcessRunSqlQuery

Also, this works when I run this inside the TravelDocs application. So, I'm thinking my code is right, I think I may have a security issue. Just not sure why.

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
270000H2S7 gravatar image

Answer by RickWilson (6949) | Jun 07, 2016 at 10:20 PM

Your logging looks pretty terse. Is it possible you have your logging turned down in NENU? If not set to 0, change it to that value and see if your log provides more info.

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
270006WF97 gravatar image

Answer by John.D.Skiff (0) | Jun 07, 2016 at 10:25 PM

OK, try this. I do get an error this way, but I'm not sure why.

Log started Tue Jun 07 16:23:11 2016
------------------------------------
16:23:11.8 (0) t:EA0 p:57DA8B0 State xml: <s lib="Maintenance Manager" tprofile="Maintenance" action_log_level="0" batch_log="1" log_appId="1" log_override="1" log_reflush="1" log_severity="1" log_threadproc="1" log_time="1" log_timediff="1" script_reload="1" service_log="3" />
16:23:11.8 (0) t:EA0 p:57DA8B0 Workflow "" paths: runtime="\\WIN7DATACAP9\Datacap\Maintenance Manager\batches\"; process="\\WIN7DATACAP9\Datacap\Maintenance Manager\dco_Maintenance Manager\"; setup dco="\\WIN7DATACAP9\Datacap\Maintenance Manager\dco_Maintenance Manager\Maintenance Manager.xml"; runtime dco="\\WIN7DATACAP9\Datacap\Maintenance Manager\batches\NENU_Maintenance\inputpf.xml";
16:23:11.8 (0) t:EA0 p:57DA8B0 ruleset:
16:23:11.8 (0) t:EA0 p:57DA8B0 ruleset name="MainteanceRules" id="1" target object="B" target id="Maintenance Manager_Maintenance" target type="Maintenance Manager"
16:23:11.8 (0) t:EA0 p:57DA8B0 rule "r_MasterMaintenance"
16:23:11.8 (0) t:EA0 p:57DA8B0 func "f_ResetBatchStatus"
16:23:11.8 (0) t:EA0 p:57DA8B0 action SetupDisconnectAll ()
16:23:11.18 (0) t:EA0 p:57DA8B0 Running SetupDisconnectAll Action...
16:23:11.18 (0) t:EA0 p:57DA8B0 action returned true
16:23:11.18 (0) t:EA0 p:57DA8B0 /action
16:23:11.18 (0) t:EA0 p:57DA8B0 action SetApplication ("TravelDocs")
16:23:11.18 (0) t:EA0 p:57DA8B0 Running SetApplication Action...
16:23:11.18 (0) t:EA0 p:57DA8B0 In INIT
16:23:11.28 (16) t:EA0 p:57DA8B0 XML <s breakpoint="" lib="Maintenance Manager" wf="" tprofile="Maintenance" rses="" task="" task.index="" log_file="\\win7datacap9\datacap\maintenance manager\batches\nenu_maintenance\maintenance_rrs.log" last_batch_log_file="\\win7datacap9\datacap\maintenance manager\batches\nenu_maintenance\maintenance_rrs.log" last_exec_result="0" last_logic_result="1" flags="1">
<stack></stack>
<error code="0" api_source="" location=""></error><dc n="0"/><OnActionStart></OnActionStart><OnActionSuccess></OnActionSuccess><OnActionFailure></OnActionFailure><OnActionAbort></OnActionAbort><OnActionStop></OnActionStop><OnFunctionStart></OnFunctionStart><OnFunctionSuccess></OnFunctionSuccess><OnFunctionFailure></OnFunctionFailure><OnRuleStart></OnRuleStart><OnRuleFailure></OnRuleFailure><OnRuleSuccess></OnRuleSuccess><OnRulesetStart></OnRulesetStart><OnRulesetEnd></OnRulesetEnd><OnProcessStart></OnProcessStart><OnProcessEnd></OnProcessEnd></s>

16:23:11.28 (0) t:EA0 p:57DA8B0 DCSmart Metaword sArgument: TravelDocs
16:23:11.28 (0) t:EA0 p:57DA8B0 Smart Parameter return value: ''
16:23:11.28 (0) t:EA0 p:57DA8B0 action returned true
16:23:11.28 (0) t:EA0 p:57DA8B0 /action
16:23:11.28 (0) t:EA0 p:57DA8B0 action SetStation ("1")
16:23:11.28 (0) t:EA0 p:57DA8B0 Running SetStation Action...
16:23:11.28 (0) t:EA0 p:57DA8B0 DCSmart Metaword sArgument: 1
16:23:11.28 (0) t:EA0 p:57DA8B0 Smart Parameter return value: ''
16:23:11.28 (0) t:EA0 p:57DA8B0 action returned true
16:23:11.28 (0) t:EA0 p:57DA8B0 /action
16:23:11.28 (0) t:EA0 p:57DA8B0 action SetPassword ("admin")
16:23:11.28 (0) t:EA0 p:57DA8B0 Running SetPassword Action...
16:23:11.28 (0) t:EA0 p:57DA8B0 DCSmart Metaword sArgument: admin
16:23:11.28 (0) t:EA0 p:57DA8B0 Smart Parameter return value: ''
16:23:11.28 (0) t:EA0 p:57DA8B0 action returned true
16:23:11.28 (0) t:EA0 p:57DA8B0 /action
16:23:11.28 (0) t:EA0 p:57DA8B0 action SetUser ("admin")
16:23:11.28 (0) t:EA0 p:57DA8B0 Running SetUser Action...
16:23:11.28 (0) t:EA0 p:57DA8B0 DCSmart Metaword sArgument: admin
16:23:11.28 (0) t:EA0 p:57DA8B0 Smart Parameter return value: ''
16:23:11.38 (16) t:EA0 p:57DA8B0 action returned true
16:23:11.38 (0) t:EA0 p:57DA8B0 /action
16:23:11.38 (0) t:EA0 p:57DA8B0 action SetupOpenApplication ()
16:23:11.38 (0) t:EA0 p:57DA8B0 C:\Datacap\dcshared\NET\Datacap.Libraries.Nenu.dll. AssemblyVersion: 9.0.0.0. AssemblyFileVersion: 9.0.4.54.
16:23:11.38 (0) t:EA0 p:57DA8B0 Running SetupOpenApplication Action...
16:23:11.68 (31) t:EA0 p:57DA8B0 action returned true
16:23:11.68 (0) t:EA0 p:57DA8B0 /action
16:23:11.68 (0) t:EA0 p:57DA8B0 action QueryClear ()
16:23:11.68 (0) t:EA0 p:57DA8B0 Running QueryClear Action...
16:23:11.68 (0) t:EA0 p:57DA8B0 action returned true
16:23:11.68 (0) t:EA0 p:57DA8B0 /action
16:23:11.68 (0) t:EA0 p:57DA8B0 action QuerySetJobID ("Web Job")
16:23:11.68 (0) t:EA0 p:57DA8B0 Running QuerySetJobID Action...
16:23:11.68 (0) t:EA0 p:57DA8B0 In INIT
16:23:11.78 (0) t:EA0 p:57DA8B0 XML <s breakpoint="" lib="Maintenance Manager" wf="" tprofile="Maintenance" rses="" task="" task.index="" log_file="\\win7datacap9\datacap\maintenance manager\batches\nenu_maintenance\maintenance_rrs.log" last_batch_log_file="\\win7datacap9\datacap\maintenance manager\batches\nenu_maintenance\maintenance_rrs.log" last_exec_result="0" last_logic_result="1" flags="1">
<stack></stack>
<error code="0" api_source="" location=""></error><dc n="0"/><OnActionStart></OnActionStart><OnActionSuccess></OnActionSuccess><OnActionFailure></OnActionFailure><OnActionAbort></OnActionAbort><OnActionStop></OnActionStop><OnFunctionStart></OnFunctionStart><OnFunctionSuccess></OnFunctionSuccess><OnFunctionFailure></OnFunctionFailure><OnRuleStart></OnRuleStart><OnRuleFailure></OnRuleFailure><OnRuleSuccess></OnRuleSuccess><OnRulesetStart></OnRulesetStart><OnRulesetEnd></OnRulesetEnd><OnProcessStart></OnProcessStart><OnProcessEnd></OnProcessEnd></s>

16:23:11.78 (0) t:EA0 p:57DA8B0 DCSmart Metaword sArgument: Web Job
16:23:11.78 (0) t:EA0 p:57DA8B0 Smart Parameter return value: ''
16:23:11.78 (0) t:EA0 p:57DA8B0 action returned true
16:23:11.78 (0) t:EA0 p:57DA8B0 /action
16:23:11.78 (0) t:EA0 p:57DA8B0 action ProcessRunSqlQueryEx (1,-1)
16:23:11.78 (0) t:EA0 p:57DA8B0 Running ProcessRunSqlQuery Action...
16:23:11.78 (0) t:EA0 p:57DA8B0 !!! ERROR !!!: Impossible to build the Query. No conditions set.
16:23:11.78 (0) t:EA0 p:57DA8B0 Running SetupDisconnectAll Action...
16:23:11.88 (15) t:EA0 p:57DA8B0 result 1[1] = false
16:23:11.88 (0) t:EA0 p:57DA8B0 action returned false
16:23:11.88 (0) t:EA0 p:57DA8B0 /action
16:23:11.88 (0) t:EA0 p:57DA8B0 func result: "false"
16:23:11.88 (0) t:EA0 p:57DA8B0 /func
16:23:11.88 (0) t:EA0 p:57DA8B0 rule result: "false"
16:23:11.88 (0) t:EA0 p:57DA8B0 /rule
16:23:11.88 (0) t:EA0 p:57DA8B0 /ruleset
16:23:11.98 (16) t:EA0 p:57DA8B0 c:\datacap\RRS\Logs\wrrs
16:23:11.98 (0) t:EA0 p:57DA8B0 end log to batch

Comment

People who like this

  0   Share
10 |3000 characters needed characters left characters exceeded
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster

Follow this question

100 people are following this question.

Answers

Answers & comments

Related questions

NENU - Datacap Maintenance Manager Crashing 0 Answers

NENU ProcessMoveDBRecords in AD cannot connect 4 Answers

custom nenu actions 2 Answers

NENU - ProcessDeleteBatches error 2 Answers

Maintenance Manager login with LDAP 1 Answer

  • Contact
  • Privacy
  • IBM Developer Terms of use
  • Accessibility
  • Report Abuse
  • Cookie Preferences

Powered by AnswerHub

Authentication check. Please ignore.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • API Connect
  • Analytic Hybrid Cloud Core
  • Application Performance Management
  • Appsecdev
  • BPM
  • Blockchain
  • Business Transaction Intelligence
  • CAPI
  • CAPI SNAP
  • CICS
  • Cloud Analytics
  • Cloud Automation
  • Cloud Object Storage
  • Cloud marketplace
  • Collaboration
  • Content Services (ECM)
  • Continuous Testing
  • Courses
  • Customer Experience Analytics
  • DB2 LUW
  • Data and AI
  • DataPower
  • Decision Optimization
  • DevOps Build
  • DevOps Services
  • Developers IBM MX
  • Digital Commerce
  • Digital Experience
  • Finance
  • Global Entrepreneur Program
  • Hadoop
  • Hybrid Cloud Core
  • Hyper Protect
  • IBM Cloud platform
  • IBM Design
  • IBM Forms Experience Builder
  • IBM Maximo Developer
  • IBM StoredIQ
  • IBM StoredIQ-Cartridges
  • IIDR
  • ITOA
  • InformationServer
  • Integration Bus
  • Internet of Things
  • Kenexa
  • Linux on Power
  • LinuxONE
  • MDM
  • Mainframe
  • Messaging
  • Node.js
  • ODM
  • Open
  • PartnerWorld Developer Support
  • PowerAI
  • PowerVC
  • Predictive Analytics
  • Product Insights
  • PureData for Analytics
  • Push
  • QRadar App Development
  • Run Book Automation
  • Search Insights
  • Security Core
  • Storage
  • Storage Core
  • Streamsdev
  • Supply Chain Business Network
  • Supply Chain Insights
  • Swift
  • UBX Capture
  • Universal Behavior Exchange
  • UrbanCode
  • WASdev
  • WSRR
  • Watson
  • Watson Campaign Automation
  • Watson Content Hub
  • Watson Marketing Insights
  • dW Answers Help
  • dW Premium
  • developerWorks Sandbox
  • developerWorks Team
  • Watson Health
  • More
  • Tags
  • Questions
  • Users
  • Badges