Pathway/iTS Web Client Programming Manual (G06.24+)
How to Compile, Build, and Maintain a Pathway/iTS
Web Client
Compaq NonStop Pathway/iTS Web Client Programming Manual—520270-001
2-16
Modify SCREEN COBOL Source Code
Modify SCREEN COBOL Source Code
Enhancements and maintenance changes to the SCREEN COBOL source code fall into
one of the following categories:
•
Changes to business logic only
•
Changes to business logic and display
•
Changes to display section only
Changes to Business Logic Only
If only the business logic changes, all the corresponding changes to the web clients are
in the Java code. In this case, to generate a newer version of the web client, do the
following:
1. Reconvert the SCREEN COBOL application.
2. Build the converted application.
3. Discard the generated HTML files and copy the previously customized HTML files
to the /usr/test/inventory/bin directory.
4. Deploy and test the application.
Changes to Business Logic and Display
If the business logic changes and also new display fields are added or existing fields are
changed or removed, the corresponding changes for the web clients will be in both the
Java code and the HTML files. To generate a newer version of the web clients, do the
following:
•
Reconvert the SCREEN COBOL application.
•
Build the converted application.
•
Customize the generated HTML files.
•
Deploy and test the application.
This situation requires you to reapply the screen customizations that were done before
the last deployment. If this kind of change occurs frequently, you might want to limit
the amount of customization you do to the screens.
Changes to Display Section Only
In this scenario, no new fields are added or existing fields deleted. The changes are
cosmetic and involve moving fields around or adding new or modifying existing literal
text. To generate a newer version of the web clients, the only changes you need to make
are to the HTML files. Modify the HTML files as described under 8. Customize the
Screens and then deploy and test the modified application.