From: Willie Moore To: All
In order to activate the Dup key, the DDS manual states that you should do the following:
1. Specify, in DDS, two fields for each input-capable field on the display. Specify one field as an input-capable field and specify the field-level DUP keyword with a response indicator. Specify the other field as a hidden field (H in position 38).
2. On the first output operation, set off an option indicator for the DUP keyword.
3. On the first input operation, move the input-capable field to the hidden field. This saves the keyed value for later use.
4. On each subsequent output operation, set the option indicator on for the DUP keyword.
In one of my applications, the Dup key could be used with up to 10 fields.
If the screen is already full, how or where would I position the hidden fields? Do I have to break the screen up into two parts now?
From: Matt Sargent To: Willie Moore
Hidden fields are not the same as nondisplayed fields. They are a special type designated with an H in position 38 (usage). Although they are a part of the record format, they don't take up space on the screen and don't have a row/column position. To add a hidden field in SDA, bring up the format for editing and press F4 to see the field list. Below the list of fields is an area where you can add hidden fields, message fields and program-to-system fields.
You can have hidden fields on any format, including subfiles, subfile controls, and windows.
MC Press Online