Previous Topic: ExamplesNext Topic: Examples


Display Qualified, Indexed, or Subscripted COBOL Data Names

To display qualified, indexed, or subscripted COBOL data names, press PF9 while you are viewing the Breakpoint‑Related Areas menu (CORE=Bkpt). CA InterTest for CICS displays the Complex COBOL Data Names screen. Parentheses and commas are not used in the COBOL Complex data menu.

The following example requests a display of TASKNUM OF TASK‑TEXT.

   CA InterTest CORE COMMAND BUILDER  COMPLEX COBOL DATA NAMES                                                                                                Specify area to be Indexed or Subscripted with or without Qualification:                                                                                          Task number:       00136                                                                                                                                    Œ  Data  name:        tasknum_______________________                                OF                                                                    Data  name:        tasktext_____________________                                                                                                       Ž  Index or Subscript1: ______________________________                             Index or Subscript2: ______________________________                             Index or Subscript3: ______________________________                                                                                                                                                                                                                                                                                                                                                         PF1 Help       2            3 End        4 Return     5            6             PF7            8            9 Complex   10           11           12 

Note: An alternative method of displaying complex data names is to use a d and the cursor on the Source Listing Breakpoint display. This method saves you from having to type long names. To get a Source Listing Breakpoint display, press PF4.

To display the contents of a qualified data name, specify:

Œ

Field name in the top Data name field.



Group name in the OF Data name field.

To display the contents of an indexed or subscripted data name, specify:

Œ

Field name in the top Data name field.



Qualifying group name in the OF Data name field, if applicable.

Ž

Indexes or subscripts in the bottom three fields. Specify one index or subscript per field. Subscripts are designated either numerically or as data names.

Note: You cannot mix indexes and subscripts.

For more information:

Source Listing Facility