To add Web browsing to your COBOL applications, you include the Web address (or URL) in the VALUE clause of the DISPLAY WEB-BROWSER2 statement. For example:
display web-browser2, value "www.microfocus.com" column 5, line 5, size 60, lines 20.
Using this method, your COBOL program can display Web pages containing HTML, scripting, Java applet content and more.
If desired, you can dynamically change the browser's location using the MODIFY verb. For instance, if your program displays a combo-box offering many different URL choices, you may need to MODIFY the location of the browser based on a user response (mouse click).
Modify web-browser2, value "www.cobol.com"