Entire Connection offers this possibility thru its Download API. The program
DEFINE DATA LOCAL
1 #LINE (A121)
1 #CMD (A80)
END-DEFINE
SET CONTROL '+'
WRITE WORK 6 COMMAND 'SET PCFILE 7 DOWN DATA C:/TEMP/ASCIICMP.BAT'
#LINE := '"C:\Program Files\Internet Explorer\iexplore.exe"'
WRITE WORK 7 #LINE
#LINE := 'pause'
WRITE WORK 7 #LINE
WRITE WORK 6 COMMAND
'DOS C:/TEMP/ASCIICMP.BAT'
END
starts the IE.
May be your emulation offers something similar you can access thru a self-written Natural 3GL.
I’ve also done something like this using EntireX Communicator and Visual Basic, in that case to invoke MS Word and fill in the document with mainframe data…let me know if you need details.
I was after similar functionality where I can invoke an open system application from a mainframe NATURAL in order to maintain a narrative text, spell check and return the result back to the calling program to store data in ADABAS.