On Mon, 3 Jun 2019 17:23:35 +0000, Seymour J Metz wrote: >No, I mean that SDSF would have to accept a parameter for the associative >array and have some way to update it. Only after IBM implements can can they >provide for calling SDSF from COBOL. The hard part is updating SDSF. > Or bridge code to invoke SDSF with the (documented) Rexx interface; use IRXEXCOM to extract the values it sets and either set the corresponding COBOL variables or return a canonical form such as XML that COBOL could parse to populate an associative array. SMOP, but no update to SDSF.
I did something like that decades ago on CMS: I simulated a call from Rexx to SQL/DS; extracted values with EXECCOMM; and populated values in a Mainsail main program. Mainsail was very friendly -- compiled in debug mode it made its symbol table (and compiler!) available to its foreign language, making it easy to use source language constructs to set host variables. Alas, when I last looked, Mainsail's domain name was for sale. ________________________________________ >From: Clark Morris >Sent: Sunday, June 2, 2019 5:12 PM > >I assume you mean that a COBOL has to be able to CALL 'X' with a USING >or RETURNING phrase that has the right pointers to a associative array >and that COBOL has to be able to set up that array for either the >USING phrase of the call or the RETURNING phrase of the CALL. ... -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN