Space announcement This documentation space provides the same content as before, but the organization of the content has changed. The content is now organized based on logical branches instead of legacy book titles. We hope that the new structure will help you quickly find the content that you need.

Specifying session defaults of COBOL


You can set or override the defaults to be used during debugging sessions with option 0 (DEFAULTS) on the Code Debug TSO Primary Menu. The Code Debug TSO Defaults Menu shown in the following figure is displayed. The defaults you specify remain in effect across all Code Debug TSO and  Code Debug IMSdebugging sessions.

The Defaults Menu

Code Debug TSO Defaults Menu

 ------------------------------- DEFAULTS MENU  -------------------------
OPTION  ===>


          1  TEST PF KEYS  - Specify test session PF keys
          2  COLORS        - Specify color defaults
          3  OTHERS        - Specify other default values
          4  PROFILE       - Specify current profile name













           Press ENTER to Process  or  Enter END Command to Terminate

From this menu you can select to:

 1.  Modify Code Debug PF key settings used during your debugging session.

 2.  Specify color selections on a color terminal.

 3.  Specify session defaults, such as the default dsname high-level qualifier, and enable the jump function.

 4.  Select a profile to be used and tailor user profiles for all your different libraries and environments.

Specifying PF Key Definitions

Code Debug TSO has two sets of PF keys. When using Code Debug TSO, you use ISPF PF key settings. These PF keys are used throughout the product, except when you are within a debugging session. Then you use Code Debug debugging session PF keys.

To modify the Code Debug  debugging session PF key settings, select option 1 (TEST PF KEYS). The Code Debug  PF Key Definitions and Labels - Primary Keys screen shown in the following figure is displayed. For terminals with 24 PF keys, press Enter to display the CODE DEBUG PF Key Definitions and Labels - Alternate Keys screen shown in Code Debug  PF Key Definitions and Labels - Alternate Keys Screen.

Note

Depending on the number of PF keys established for your terminal, the appropriate set of PF keys is displayed on these screens.

Code Debug PF Key Definitions and Labels - Primary Keys Screen

------------ CODE DEBUG PF KEY DEFINITIONS AND LABELS - PRIMARY KEYS ------------
COMMAND ===>

  NUMBER OF PF KEYS ===> 24                        TERMINAL TYPE ===> 3278

PF1  ===> HELP
PF2  ===> PEEK CSR
PF3  ===> END
PF4  ===> EXIT
PF5  ===> FIND
PF6  ===> LOCATE *
PF7  ===> UP
PF8  ===> DOWN
PF9  ===> GO 1
PF10 ===> LEFT
PF11 ===> RIGHT
PF12 ===> GO

PF1  LABEL ===>           PF2  LABEL ===>           PF3  LABEL ===>
PF4  LABEL ===>           PF5  LABEL ===>           PF6  LABEL ===>
PF7  LABEL ===>           PF8  LABEL ===>           PF9  LABEL ===>
PF10 LABEL ===>           PF11 LABEL ===>           PF12 LABEL ===>

Press ENTER key to display alternate keys.  Enter END command to exit.


 Code Debug PF Key Definitions and Labels - Alternate Keys Screen

------------ CODE DEBUG PF KEY DEFINITIONS AND LABELS - ALTERNATE KEYS ----------
COMMAND ===>

  NOTE: Definitions and labels below apply only to terminals with 24 PF keys.

PF13 ===> HELP
PF14 ===> FIND CSR
PF15 ===> END
PF16 ===> EXIT
PF17 ===> FIND IND
PF18 ===> LOCATE *
PF19 ===> UP
PF20 ===> DOWN
PF21 ===> GO 1
PF22 ===> DLEFT
PF23 ===> DRIGHT
PF24 ===> GO

PF13 LABEL ===>           PF14 LABEL ===>           PF15 LABEL ===>
PF16 LABEL ===>           PF17 LABEL ===>           PF18 LABEL ===>
PF19 LABEL ===>           PF20 LABEL ===>           PF21 LABEL ===>
PF22 LABEL ===>           PF23 LABEL ===>           PF24 LABEL ===>

Press ENTER key to display primary keys.  Enter END command to exit.

Changes can be made to the PF key designations by typing over the appropriate fields. PF keys can also be labeled to have a descriptive name as well as the actual command mapped to the key.

Specifying Screen Colors

The next option on the Defaults Menu gives you color defaults for use with a color terminal. A full range of colors is offered for the various display areas on the screen, whether in ISPF or the Source display. Both intensity and highlight choices are available for each color. This option lets you change color, highlight, and intensity on all ISPF, source, and tutorial screens.

Select option 2 (COLORS) from the Defaults Menu to access the ISPF Color Defaults screen shown in the following figure. You can also enter the COLOR command anywhere within Code Debug TSO to invoke this screen.

ISPF Color Defaults Screen

CODE DEBUG TSO ----------------- ISPF COLOR DEFAULTS (0.2) ------------------
COMMAND ===>

 PRIMARY COMMANDS :  Source (color defaults)      Tutorial (color defaults)
 COLOR     Choices:  White   Red   Blue   Green   Pink   Yellow   Turq
 HIGHLIGHT Choices:  Uscore
 Blink Reverse  None
 INTENSITY Choices:  High    Low

                              COLOR     HIGHLIGHT  INTENSITY
 Informative Text        ===> BLUE       NONE       LOW
 Informative Text Hilite ===> WHITE      NONE       HIGH
 Input Field Title       ===> BLUE       NONE       LOW
 Input Field Pointer     ===> WHITE      NONE       HIGH
 Data Input Field        ===> RED        NONE       HIGH
 Panel Title             ===> WHITE      NONE       HIGH
 COMMAND Title           ===> WHITE      NONE       HIGH
 COMMAND Input Field     ===> RED        NONE       HIGH
 Message/Note Text       ===> BLUE       NONE       LOW
 Message/Note Hilite     ===> WHITE      NONE       HIGH
 Menu Options            ===> WHITE      NONE       HIGH
 Menu Option Text        ===> BLUE       NONE       LOW
 Field in Error          ===> RED        NONE       HIGH

                    Press ENTER to Save or END To Return

The entry values are listed on the screen. Note that color, highlight, and intensity choices can be indicated by the first character.

The following indicates some guidelines regarding the use of color:

  • Colors take affect only on a 3279-B or ISPF-supported 7-color terminal.
  • Enter the ON or DEMO command on the Color Default screens for an example of its use.
  • Enter the OFF or RESTORE command to restore standard ISPF color settings.
  • Intensity is ignored on IBM color terminals.
  • Color is ignored on monochrome terminals.

Entering S or SOURCE from the ISPF Color Defaults screen invokes the Source Color Defaults/1 screen, shown in the following figure. You can also enter the COLOR S command anywhere within Code Debug TSO, except within a dialog box debugging session, to invoke this screen.

There are three screens for source color defaults. Press Enter without any changes to cycle through the screens.

Source Color Defaults/1 Screen

CODE DEBUG TSO ------------ SOURCE COLOR DEFAULTS/1 (0.2) ---------------------
COMMAND ===>

 COLOR     Choices:  White   Red   Blue   Green   Pink   Yellow   Turq
 HIGHLIGHT Choices:  Uscore
 Blink Reverse  None
 INTENSITY Choices:  High    Low

                                   COLOR     HIGHLIGHT  INTENSITY
 Panel Title                  ===> BLUE       NONE       LOW
 Current Module Name          ===> WHITE      NONE       HIGH
 COMMAND Title                ===> BLUE       NONE       LOW
 COMMAND Input Field          ===> RED        NONE       HIGH
 Input Field Pointer          ===> WHITE      NONE       HIGH
 Background Areas             ===> BLUE       NONE       LOW
 Informational Message        ===> WHITE      NONE       HIGH
 Error Messages               ===> WHITE      NONE       HIGH
 Informative Test             ===> BLUE       NONE       LOW
 Informative Test Highlight   ===> WHITE      NONE       HIGH
 Separator/Marker Lines       ===> BLUE       NONE       LOW



                    Press ENTER to Save or END To Return

Typing ON or DEMO on the Source Color Defaults screen causes the COLOR, HIGHLIGHT, and INTENSITY fields to automatically change (see the following figure) to the following:

Changing Source Color Defaults

                                    COLOR     HIGHLIGHT  INTENSITY
 Panel Title                  ===> YELLOW     REVERSE    LOW
 Current Module Name          ===> TURQ       REVERSE    HIGH
 COMMAND Title                ===> TURQ       REVERSE    LOW
 COMMAND Input Field          ===> GREEN      REVERSE    HIGH
 Input Field Pointer          ===> WHITE      REVERSE    HIGH
 Background Areas             ===> BLUE       REVERSE    LOW
 Informational Message        ===> TURQ       REVERSE    HIGH
 Error Messages               ===> PINK       REVERSE    HIGH
 Informative Test             ===> YELLOW     REVERSE    LOW
 Informative Test Highlight   ===> TURQ       REVERSE    HIGH
 Separator/Marker Lines       ===> BLUE       REVERSE    LOW

                    Press ENTER to Save or END To Return

Typing OFF or RESTORE causes the COLOR, HIGHLIGHT, and INTENSITY fields on the Source Color Defaults/1 screen to return to the default values shown in the following figure.

Entering T or TUTORIAL from the ISPF Color Defaults screen invokes the Tutorial Color Defaults screen, shown in following figure. You can also enter the COLOR T command anywhere within Code Debug TSO to invoke this screen.

Tutorial Color Defaults Screen

CODE DEBUG TSO ----------- TUTORIAL COLOR DEFAULTS (0.2) ------------------------
COMMAND ===>

 COLOR     Choices:  White   Red   Blue   Green   Pink   Yellow   Turq
 HIGHLIGHT Choices:  Uscore
 Blink Reverse  None
 INTENSITY Choices:  High    Low

                              COLOR     HIGHLIGHT  INTENSITY
 Informative Text        ===> BLUE       NONE       LOW
 Informative Text Hilite ===> WHITE      NONE       HIGH
 Panel Title             ===> WHITE      NONE       HIGH
 COMMAND Title           ===> WHITE      NONE       HIGH
 COMMAND Input Field     ===> RED        NONE       HIGH
 Panel Subtitle          ===> WHITE      NONE       HIGH









                   Press ENTER to Save or END to Return


Typing ON or DEMO in the above figure causes the COLOR, HIGHLIGHT, and INTENSITY fields to automatically change (see the following figure) to the following:

Changing Tutorial Color Defaults

                             COLOR     HIGHLIGHT  INTENSITY
Informative Text        ===> YELLOW     REVERSE    LOW
Informative Text Hilite ===> TURQ       REVERSE    HIGH
Panel Title             ===> WHITE      REVERSE    HIGH
COMMAND Title           ===> TURQ       REVERSE    HIGH
COMMAND Input Field     ===> GREEN      REVERSE    HIGH
Panel Subtitle          ===> PINK       REVERSE    HIGH

                    Press ENTER to Save or END To Return

Typing OFF or RESTORE causes the COLOR, HIGHLIGHT, and INTENSITY fields in the above figure to return to the default values shown in Tutorial Color Defaults Screen.

Specifying Other Default Values

Select option 3 (OTHERS) from the Defaults Menu to access the Others screen for specifying other default values as shown in the following figure. This screen does two things:

 1.  Sets up a default prefix for your dsname high-level qualifier that will be automatically appended to all dsnames not enclosed in quotes.

 2.  Enables the jump function.

Specifying Other Default Values

--------------------------------------  OTHERS  --------------------------------
COMMAND ===>

DSNAME HIGH-LEVEL QUALIFIER:   (Appended to all DSNAMEs not enclosed in quotes)
 Prefix   ===> ASJUSR1



ENABLE JUMP FUNCTION:          (Allow menu jumps within CODE DEBUG TSO screens)
 Enable   ===> YES











          Press ENTER to Process  or  Enter END Command to Terminate

The fields on the Others screen are as follows:

DSNAME HIGH-LEVEL QUALIFIER

The string entered here is automatically prefixed to any dsname not enclosed in quotes. Your user ID is the default value pre-filled in this field.

If your site requires a high-level qualifier that is not your user ID, enter that qualifier in the Prefix field. This will become your default high-level qualifier. Do not blank out this field. The prefix is used as the high-level qualifier in names generated by Code Debug TSO for the session log and script data sets. Therefore, unless you explicitly name them, any attempt to allocate these data sets will fail. Also, in many sites, a data set cannot be cataloged without a user ID.

ENABLE JUMP FUNCTION

Turning on the jump function (YES, the default) lets you move from one screen to another without passing through the Primary Menu. The jump function is the same as that provided inside ISPF.

The equal sign (=) is used to take you to a Primary Menu. Entering =2 takes you to option 2 of the Primary Menu. If the jump function is turned on (enabled) and the equal sign convention is used, you are referred to the Code Debug TSO Primary Menu. If the jump function is off, you are referred to the ISPF Primary Menu.

Specifying User Profiles

The user profile contains all the changes you make to the Code Debug defaults. This includes installation defaults established by your system programming staff, and most importantly, environment parameters and setup options for your debugging session.

Select option 0 (Defaults) from the Primary Menu to display the Defaults Menu. Select option 4 (PROFILE) from the Defaults Menu to access the Code Debug Profile screen shown in Code Debug Profile Screen. This screen can also be reached by entering a question mark (?) as a profile identifier on the Primary Menu or by using the PROFILE command from a test screen. See the Using the PROFILE Commandfor additional information. This screen lets you:

  • Switch to a new profile
  • Change the description of a profile
  • Make a particular profile current
  • Delete a profile
  • Copy a profile
  • Rename a profile
  • Use a profile.

Code Debug Profile Screen

---------------------------------- PROFILE (0.4)  ----------------------------
COMMAND ===>                                                  SCROLL ===> PAGE

LINE COMMANDS: S (Select) D (Delete) C (Copy) R (Rename) U (Use) I (Info)
PRIMARY COMMANDS:  MERGE (copy profiles)   Locate/Find/RFIND (reposition table)
 CURRENT                                  Sort Last Modified (Y/N) N
 PROFILE ===> TRIMAINP > Test using the PL/I IVP program                    <

CMD  PROFILE   NEW NAME      DESCRIPTION
-------------------------------------------------------------------------------
_   TRIMAIN            > Test using the COBOL IVP program                   <
_   TRIMAINA           > Test using the HL Assembler IVP program            <
_   TRIMAINC           > Test using the C IVP program                       <
_ * TRIMAINP           > Test using the PL/I IVP program                    <
_   TRIMAIN2           > Test using the COBOL IVP program w/internal sort   <
_   TRIMPP             > Test using the COBOL IVP program for IMS MPP       <
_   TRIPMPP            > Test using the PL/I IVP program for IMS MPP        <
******************************* Bottom of data ********************************

The Profile screen has a fixed (body) area and a scrollable area. The fixed body area has a command line, a list of available commands, a sort indicator, and the Current Profile.

You can perform several operations in this area.

  1. Use the MERGE command to merge another user’s profile into your profile library or use the LOCATE, FIND, or RFIND command to reposition the scrollable area.
  2. Use the PROFILE field to:
    • Switch to a new profile: To do this, type over the profile identifier with a new identifier. The identifier can be any 8-character name or number. When you change the profile specified in this field, the profile change becomes effective immediately. This lets you execute debugging sessions with different environments, load libraries, levels of systems software, and so on.
    • Change the description of a profile: To do this, type over the DESCRIPTION field. You can combine this with selecting a new profile, in which case, the description is associated with the new profile.
  3. Use the Sort Last Modified field to change the order of profile entries.
    • N (default) - displays profile entries alphabetically in ascending order.
    • Y - displays profile entries by the date the profile was last modified in descending order. Modifying setup information unique to a single profile, modifying a profile description, or changing environments for a profile constitute a change. The LOCATE command will automatically be disabled when profile entries are sorted by date last modified.

Important

Using the same ISPF profile file with Code Debug TSO 16.05 or greater and releases of Code Debug TSO prior to 16.05 will cause the current profile and any profiles modified with prior releases to sort incorrectly in Code Debug TSO 16.05 or greater when the Sort Last Modified field is set to Y.

The scrollable area of the screen has a line for each existing profile and includes a line command area. An asterisk (*) preceding a profile identifier indicates the current profile. You can use the following line commands:

  • S (Select)—to make a particular profile current. You can combine this command with a copy function by entering the identifier of the new profile in the NEW NAME field. This makes the new profile the current profile.
  • D (Delete)—to delete a profile.
  • C (Copy)—to copy a profile. Enter the identifier of the new profile in the NEW NAME field. Press Enter, and a new profile with the given identifier is created. If you also type over the DESCRIPTION field, the new description goes only with the new profile. If the new profile identifier already exists, you must verify that you really want to overwrite the profile.
  • R (Rename)—to rename a profile. Enter the new profile identifier in the NEW NAME field. You can also change the description by typing over the DESCRIPTION field. Press Enter, and the profile is renamed.
  • U (Use)—to use a profile. This line command takes you directly to Code Debug TSO with the selected profile.
  • I (Info)—to display profile setup information.

Using the MERGE Command

The MERGE command copies profiles from an alternate profile data set to the current profile data set. See Selecting Alternate Profiles (MERGE) for more information. The profile entries on the Merge Profile screen are sorted in the same manner as selected on the Profile screen.

Using the LOCATE Command

The LOCATE command positions the list of profiles to the profile name preceding the name you specify. L and LOC are acceptable abbreviations for the LOCATE command. The LOCATE command will automatically be disabled when profile entries are sorted by date last modified.

Using the FIND Command

The FIND command will position the profile table at the profile name whose requested character string matches some or all of the characters in the profile name or description. F is an acceptable abbreviation for the FIND command.

Using the RFIND Command

The RFIND command will position the profile table at the profile name whose requested character string from the previous FIND command matches some or all of the characters in the Profile name or Description.

Using the PROFILE Command

The PROFILE command is available on the test screens to change the current profile without leaving the test screen itself. You can also use the PROFILE command from the Primary Menu. The syntax of the command is:

PROFile {xxxxxxxx}
        {?       }

Where xxxxxxxx is the profile identifier. Use this command as follows:

  1. Enter the command and a profile identifier to change to another profile. If the profile identifier does not currently exist, the Code Debug Profile screen shown in Code Debug Profile Screen is displayed so that you can enter the description for the new profile or select a different profile identifier.
  2. Enter the command without an identifier or with a question mark (?) to go to the Code Debug Profile screen shown in Code Debug Profile Screen.

When you leave the Profile screen, you are returned to the test screen, and the profile you selected is displayed in the message area. If you selected a new profile (i.e., a profile that did not currently exist), the Environments Menu is displayed.

Displaying Test Session Settings

You can use SET commands to override a number of Code Debug TSO test session defaults in order to achieve your debugging objectives. For example, you can control whether or not to intercept program abends, control the speed of program trace, or control the way Code Debug TSO deals with modules. You can control numerous Code Debug functions including display settings, session log options, and PF key settings. For full descriptions of all SET command parameters, see the Command-and-syntax-reference.

The current status of your test session settings can be displayed by entering SHOW SETS or SHOW OPTIONS on the command line. Based on your current settings and testing environment, Code Debug will display a list similar to the one shown in SHOW SET/OPTIONS First Screen through SHOW SET/OPTIONS Fifth Screen. Some values are set only for the duration of the test session, while others are maintained across test sessions. A few values are environmental settings implemented by other methods and have no corresponding SET command.

All the settings that affect module management must be in effect before loading your program into memory. This can be done by editing an INCLUDE script that contains the SET commands and specifying it on the test screen as an initial script before entering the test session.

SHOW SET/OPTIONS First Screen

------------------------- CODE DEBUG TSO - SHOW -------------------------------
COMMAND ===>
                                                              SCROLL ===> CSR
PROGRAM: TRIMAIN2   MODULE: TRIMAIN2 COMP DATE:  09/30/1997 COMP TIME:11:39:04
-------------------------------------------------- Before TRIMAIN2/AMODE 31 ->
********************************* TOP OF DATA **********************************
                ABNDEXIT ===> ON
                AUTOCAN  ===> OFF
                AUTOCLOS ===> OFF
                AUTOKEEP ===> ON
                AUTOSCRL ===> OFF
                BRCOV    ===> OFF
                BRKPOINT ===> SVC
                CAPS     ===> ON
                CBLTRAP  ===> ON
                CMDSIZE  ===> 2
                COLS     ===> OFF
                COMPARE  ===> PAD
                CONFIRM  ===> ON
                DATAFIND ===> ALL
                DATETIME ===> ON
                DBCS     ===> OFF
                DELAY    ===> 0
                DUMP     ===> OFF


SHOW SET/OPTIONS Second Screen

------------------------- CODE DEBUG TSO - SHOW --------------------------------
COMMAND ===>
                                                              SCROLL ===> CSR
PROGRAM: TRIMAIN2   MODULE: TRIMAIN2 COMP DATE:  09/30/1997 COMP TIME:11:39:04
-------------------------------------------------- Before TRIMAIN2/AMODE 31 ->
                DYNTRAP  ===> ON
                ESPIE    ===> ON
                GEN      ===> OFF
                HANDLER  ===> 0
                HEXMODE  ===> OFF
                LANGUAGE ===> ENGLISH
                LETRAP   ===> ON
                LOG      ===> ON
            LOG AUTOKEEP ===> ON
            LOG FIND     ===> OFF
            LOG INSERT   ===> OFF
            LOG KEEP     ===> ON
            LOG MEMORY   ===> ON
            LOG PEEK     ===> ON
            LOG VERIFY   ===> ON
                LOGSIZE  ===> 80
                LOWCASE  ===> ASIS
                MONITOR  ===> OFF
                NESTED   ===> 00099


SHOW SET/OPTIONS Third Screen

------------------------- CODE DEBUG TSO - SHOW --------------------------------
COMMAND ===>
                                                              SCROLL ===> CSR
PROGRAM: TRIMAIN2   MODULE: TRIMAIN2 COMP DATE:  09/30/1997 COMP TIME:11:39:04
-------------------------------------------------- Before TRIMAIN2/AMODE 31 ->
                NOINIT   ===> OFF
                NONDISP  ===> .
                PFK1     ===> HELP
                PFK2     ===> PEEK CSR
                PFK3     ===> END
                PFK4     ===> EXIT
                PFK5     ===> FIND
                PFK6     ===> LOCATE *
                PFK7     ===> UP
                PFK8     ===> DOWN
                PFK9     ===> GO 1
                PFK10    ===> LEFT
                PFK11    ===> RIGHT
                PFK12    ===> GO
                PFK13    ===> HELP
                PFK14    ===> FIND CSR
                PFK15    ===> END
                PFK16    ===> EXIT
                PFK17    ===> FIND IND


SHOW SET/OPTIONS Fourth Screen

------------------------- CODE DEBUG TSO - SHOW --------------------------------
COMMAND ===>
                                                              SCROLL ===> CSR
PROGRAM: TRIMAIN2   MODULE: TRIMAIN2 COMP DATE:  09/30/1997 COMP TIME:11:39:04
-------------------------------------------------- Before TRIMAIN2/AMODE 31 ->
                PFK18    ===> LOCATE *
                PFK19    ===> UP
                PFK20    ===> DOWN
                PFK21    ===> GO 1
                PFK22    ===> DLEFT
                PFK23    ===> DRIGHT
                PFK24    ===> GO
                PREINIT  ===> OFF
                REFRESH  ===> OFF
                REVSIZE  ===> 1M
                RTEREUS  ===> ALLOWED
                STATIC   ===> IGNORE0
                TEMPLATE ===> ON
                TRANSLAT ===> ON
                UNCHNGED ===> ON
                USERSVC  ===> 240
                 TRAPBP  ===> OFF
                 SVCBP   ===> ON
                 SVCTCBU ===> OFF


SHOW SET/OPTIONS Fifth Screen

------------------------- CODE DEBUG TSO - SHOW --------------------------------
COMMAND ===>
                                                              SCROLL ===> CSR
PROGRAM: TRIMAIN2   MODULE: TRIMAIN2 COMP DATE:  09/30/1997 COMP TIME:11:39:04
-------------------------------------------------- Before TRIMAIN2/AMODE 31 ->
        WINDOW  SOURCE   ===> MIN: 3
        WINDOW  KEEP     ===>               5
        WINDOW  AUTOKEEP ===>               0
                TRANSFER ===>
        DYNAMIC MODULES  ===>
        EXCLUDE MODULES  ===>
       NOCANCEL MODULES  ===>
        SKIPPED MODULES  ===>
        TRACED  MODULES  ===>
       DDIGNORE AT CLOSE ===>
******************************** BOTTOM OF DATA ********************************


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*