Previous Topic: Generating HTML for Non-CA 2E Display Files

Next Topic: Definition Instructions

Web Option Instructions

Web Option instructions are specially formatted comment lines that are inserted into the DDS source for a non-CA 2E display file. When the Web Option HTML generator processes the file, it uses the information in these comment lines to determine how many skeletons to generate for the display file and which record formats are used for each skeleton.

All Web Option instructions must be added into the source before any data lines. As soon as a DDS data record is found in the source (that is, a record without an asterisk in column 7), record format analysis stops and MLS generation starts, using any instruction lines already processed.

Within the 80-character SRCDTA field in QDDSSRC, Web Option instruction lines all take the following format:

Start Column

End Column

Data

Description

1

6

Comment

Any user-defined comment

7

11

*#W2E

Web Option instruction control code

12

80

Data

Instruction specific data

Thus every Web Option instruction can be identified by *#W2E in columns 7 through 11. However, there are three different types of Web Option instruction line, each of which is differentiated by the two characters in columns 12 and 13, as follows: