Checkboxes and Radio Buttons with TCD

In TCD, radio buttons and checkboxes are single-character screen fields. They can have the values X or SPACE.

To deselect a radio button or check box, do one of the following:

·        Enter ’’’ ’’’ (3 apostrophes SPACE 3 apostrophes) in the structure editor.

·        Enter a parameter in the structure editor and assign ’’’ ’’’ to the parameter in the command editor, (for example, MYPAR = ’’’ ’’’.). To use this value, the parameter must have a length of at least three characters.

To select a radio button or check box, do one of the following:

·        Enter ‘X’ in the structure editor.

·        Enter a parameter in the structure editor and assign ’X’ to the parameter in the command editor, (for example, MYPAR = ’X’.).

To use the screen defaults do one of the following:

·        In the structure editor, enter ’’’’ (4 apostrophes) or leave the filed empty

·        In the command editor, Enter a parameter in the structure editor and:

Ў        Assign ’’’’ to the parameter, (for example, MYPAR = ’’’’.).

Ў        Assign ’ ’ to the parameter, (for example, MYPAR = ’ ’.).

Ў        Clear the parameter (for example CLEAR MYPAR.).

Although radio buttons and checkboxes are single character fields, you need to make the parameters three characters long. This is because the value that is represented by ’’’ ’’’ is actually ’ ’. For more information, see Entering Values.

Example

The eCATT initial screen has four radio buttons that allow you to select the type of eCATT object that you want to work on. The following screenshot is from a recording of the transaction SECATT where, at the start, the Test Script radio button was already selected. The Test Configuration radio button was then selected by the user. Therefore, the value in the field RB_ECATT_SCRIPT was overwritten using ’’’ ’’’, and the RB_TEST_CONFIG was overwritten using ‘X’.