SUBROUTINE FRAMESET2
* Create a frameset with inner and outer frames.

* Include the RealWeb definitions
INCLUDE #RW.INCLUDE.DEFS FROM /SYSFILES/REALWEB,BP

* Start the HTML page.
CALL RW_START_HTML_PAGE("Frameset2", "", "", "", RWD_FRAMESET)

* Start the outer frameset.
CALL RW_START_FRAMESET("", "50%,*", "")

* Start the inner frameset.
CALL RW_START_FRAMESET("30%,*", "", "")

* Define the top left frame.
CALL RW_FRAME("HELLOWORLD", "topleft", "")

* Define the bottom left frame.
CALL RW_FRAME("HELLOWORLD", "bottomleft", "")

* Complete the inner frameset.
CALL RW_END_FRAMESET

* Define the right-hand frame.
CALL RW_FRAME("WELCOME", "right", "")

* Complete the outer frameset.
CALL RW_END_FRAMESET
RETURN