I have a Java app which makes a rest API call and returns a String
. The string needs to be passed on to a Cobol app (Microfocus Cobol). Currently the java app do a sysout of the string to the console. What's the best approach to capture this value from console using micro focus cobol?
The cobol app is stand alone and invokes the java app to get the string data. Need to identify a way for cobol to read in the value displayed on the output console.