Thanks Werner, I had not heard the term EEB before but it is apt. I wonder if you could explain a couple of things...
"To do this in Cobol you would Generate the Cobol code locally (on your pc) and copy the content of the complete Linkage Area to a data area in the Working Storage of the EEB (the calling module)"
You talk about generating Cobol on the PC- but hasn't that option been discontinued for some time now? I guess I could generate on the host itself right?
Also later on you say
"upon return fill the output fields of the Linkage area with the information from the Export Views in de the Working Storage. Also remember to do the translation of the CA:Gen error-handling (fields like the SQL-code in the GLOBDATA) to give the information back to the Cobol calling module"
Which Linkage area are we talking about here? That of the EEB? This is what the EEB would pass back to the Cobol program that called it?
If you could provide an example, that would be great.
Thanks!