Pathway/iTS SCUP Reference Manual
Table Of Contents

SCUP Commands
HP NonStop Pathway/iTS SCUP Reference Manual—520269-002
2-20
CONVERT Command
The following is a typical example of the Total summary:
Operational Details
General
The CONVERT command converts the Working-Storage Section and Procedure
Division components of the SCREEN COBOL program units to Java classes and
includes the necessary classes from the Pathway/iTS Java import library. The
CONVERT command converts the Screen Section and other screen components to
HTML pages, with embedded JavaScript code to link the HTML fields to their
corresponding Java objects.
For each SCREEN COBOL application (set of program units within an object file), the
converter generates the following Java classes and HTML files:
•
Main applet
Generated as initprog_MAINAPP.java or appname.java
•
Starting page
Generated as initprog_START.html or appname_START.html
•
Initial page
Generated as initprog_PAGE1.html or appname_PAGE1.html
•
Control page
Generated as initprog_CONTROL.html or appname_CONTROL.html
•
Java classes for each program unit
•
User HTML pages for the various screen sections
The CONVERT command converts the specified SCREEN COBOL program units in
such a way that most of the functionality of the original SCREEN COBOL program
units remains unchanged. For exceptions, and for a detailed description of the Java
and HTML output from the converter, refer to the Pathway/iTS Web Client
Programming Manual.
SCUP also creates a MAP file <SCOBOL-OBJECT>MAP, which contains Guardian to
OSS mapping information for all Java and HTML files of the application. The
CONVERT command uses a MAP file when re-converting a program unit. The
JMAKENV TACL MACRO utility also uses the MAP file to deploy the converted Java
and HTML files to the OSS environment. For more information about the JMAKENV
TACL MACRO utility, see the Pathway/iTS Web Client Programming Manual.
Total Summary for CONVERT command
Unsupported Statements : 4
Warnings : 1 Errors : 3
Internal Errors : 0