I need to create a process flow that will make a call to a stored procedure (which calls an AS/400 RPGLE program to get back a value for an invoice group). This procedure will pass a blank parameter and will expect to get back a group value.
To test, I created a simple flow that has an SQLUPD node where I do -- call .LSS6235 (). Then I have a branch node to test if the call was successful. If yes, sends an email showing the invoice group value that was retrieved; if not, an email showing the reason why the call failed.
When I run the flow, I get this error –
Executing Sql ..... call LAWMOD9QA.LSS6235 ()
ErrorLog in Process : DesignerTest Workunit : 3005, ActivityType=SQLUP,
ActivityName =GetInvoiceGrp, ActivityId=SQLUP2 Date:03/21/2014 Time:08:49:23.324
SQLException: undefined
What is the “undefined” referring to? The stored procedure as well as the RPGLE program were tested outside of PF and it works. Any help on this is greatly appreciated. Thanks, Ludy