[progress Communities] [progress Openedge Abl] Forum Post: Re: Create Call: Output...

  • Thread starter Thread starter David Abdala
  • Start date Start date
Status
Not open for further replies.
D

David Abdala

Guest
You are thinking in the line of "one row, one parameter" and you should think it as "one row, one invocation". With that I mean that each table rows must/may have every calling parameter, as a column. You have options, but the thing is that ABL needs to access the OUTPUT placeholder before, and after, the CALL. That means that every row you are using as an OUTPUT needs to be AVAILABLE after the CALL, with your example is still possible with little changes, but: what if you have more than one OUTPUT? In the later case you need to use a different TABLE for each OUTPUT so every one is AVAILABLE at the same time, or different columns of the same ROW. In our framework we create a dynamic TEMP-TABLE with a column for each parameter of the invocation, whether it is an INPUT, OUTPUT or INPUT-OUTPUT, create a row, populate it, make the CALL, read the outputs, create another row, populate it, make the CALL, etc.

Continue reading...
 
Status
Not open for further replies.
Back
Top