Pathway/iTS Web Client Programming Manual (G06.24+)
Compaq NonStop Pathway/iTS Web Client Programming Manual—520270-001
5-1
5
SCREEN COBOL-to-Web Conversion
Mappings
This section describes the structure and content of a Pathway/iTS Web client as
generated by the converter invoked by the SCUP CONVERT command. It also
describes how the elements of the SCREEN COBOL program map into the
corresponding elements of the client Java and HTML code. The information in this
section can be useful to you if you are modifying portions of the Java or HTML code
after conversion.
The converter generates a Web client from a SCREEN COBOL application (a set of
program units within a SCREEN COBOL object file) as follows:
•
The Working-Storage Section and Procedure Division components are converted to
Java classes, which call and include the necessary classes from the Pathway/iTS
Java import package.
•
The Screen Section, Screen Description entry, and other screen components are
converted to HTML pages.
•
The HTML pages include embedded JavaScript code to link them to the Java code.
This section includes the following topics:
Components of the Web Client
Main Java Applet
Starting Page
Initial Page
Control Page
Java Classes for the Program Units
User HTML Pages for the Screen Sections
Conversion Mappings
Mappings to Java Classes
Mappings to User HTML Pages