Previous Topic: ExampleNext Topic: Example


Search for Data

The Breakpoint‑Related Areas menu also helps you search for data, as shown in the following screen.

CA InterTest CORE COMMAND BUILDER  BREAKPOINTRELATED AREAS  (CORE=Bkpt)                                                                                      Specify area to be displayed, changed or moved:            Task number: 00136                                                                Œ COBOL name: TABLE1________________________                                                                                                                    Special element: ________  (Enter highlighted keyword)                           SSCR Saved screen image   BMSG Breakpoint message     CMAR Commarea            FCAR Facility cntl area   EIB  Exec interface block   TUAR TCT user area         BLLS COBOL BLL CELLS      CWK  COBOL WORKING STORAGE  TGT  COBOL TGT           LCL  COBOL local storage  DSA  COBOL DSA                                                                   Ž SCAN VALUE: C'STEVE F'_______________________________      DATA  FORMATS    SCAN RANGE: 1000__             B to scan backwards:                                                                      | P' ' = Packed |    To VERIFY and/or CHANGE Data:                               | X' ' = Hex    |    Existing data: ______________________________________       | C' ' = Char   |         New data: ______________________________________                                                                                            MOVE From ______________________________  To  _____________________________                                                                                   PF1 Help       2            3 End        4 Return     5            6            PF7            8            9 Complex   10           11       12  

To search for data, perform the following steps:

  1. Specify the starting address of the area to search by making an appropriate entry in field Œ or.
  2. Enter the data string for which you want to search (in field Ž). Specify the data in character (C'character string') or hexadecimal (X'hex data') format. Combined formats are allowed, such as:
    C`'KEY‑CODE'X'FFFF'
    
  3. Specify the maximum number of bytes of storage you want searched (in field ). Specify it in hexadecimal format or as a decimal number followed by the letter T.
  4. Search backward from the starting location, enter B in field . If you leave this field blank, the default is to search forward.