Page 1 of 1

Unable to return value from GoAnywhere to CL

Posted: Wed Feb 15, 2012 2:43 pm
by Support_Julie
Q.
My CL program calls a GoAnywhere project. I want to use the output variable, but the CL variable is never updated. What am I missing?

A.
GoAnywhere will not return a value to the calling CL program. In order to get a response from your project, you will have to either write the value out to a file, or place it into a data area and then read the file or data area in your CL program.

Re: Unable to return value from GoAnywhere to CL

Posted: Thu Feb 23, 2017 1:19 pm
by T_Bekker
I had this same question and was glad to find this answer. But what if I use an RPG program and use the API call to execute the GoAnywhere project? Can a value be returned to the RPG program?

Re: Unable to return value from GoAnywhere to CL

Posted: Thu Mar 09, 2017 8:53 am
by Support_Rick
No... it does not return values in that instance.