CA InterTest

Tuesday Tip: How to customize your CA Intertest for CICS debugging session options. 

09-09-2014 06:24 PM

The CA Intertest for CICS Profile display panel allows the programmer to customize specific functions that help meet their testing needs.

To access the Profile, type profile on the command line and press Enter, or press PF4 while viewing the Source Listing or when at a Breakpoint screen. In this example we will alter the CA Intertest for CICS Profile setting when stopped at a unconditional breakpoint at the first executable instruction of COBOL demo program COB2DEMO.

 

After you have logged onto your CICS region, please enter command CNTL=ON,PROG=COB2DEMO,UBP=#1 on a clear CICS screen and press Enter.’

 

Once the command has been processed you will receive two messages that confirm that the unconditional breakpoint has been processed.

 

CAIN4580 UBP option(s) processed

CAIN4513 This request has been processed.’

 

Next enter the DEC2 transaction identifier on a Clear screen in CICS and press Enter. This transaction will start the COB2DEMO program and CA Intertest for CICS will display the unconditional breakpoint screen stopping at the first executable instruction in the program.’

 

On the breakpoint screen you will notice a ‘U’ next to instruction MOVE EIBTRNID TO TSQ-TRANID. In the keep window you will see that the value of the EIBTRNID field is DEC2 in character format which is the default setting.

 

   CA InterTest for CICS r8.5 - PROTSYM FILE  UNCOND  BEFORE BREAKPOINT

COMMAND ===>

Program= COB2DEMO Option #       Stmt #                             Margin= 01

                                        Search=

-------------------------------------------------------------------------------

_____ EIBTRNID                        | DEC2

_____ TSQ-TRANID                      | ....

---------+---------------------------------------------------------------------

   000410

_ 000411 PROCEDURE DIVISION using dfheiblk dfhcommarea.

U    ==>     MOVE EIBTRNID TO TSQ-TRANID.

 

 

For demonstration purposes the application programmer would like to see the data DEC2 in hexadecimal format. To accomplish this the application programmer can customize the current debugging default value by setting parameter SDF= to HEX on the profile screen. To access the profile screen press the PF4 key and the profile screen appears.

 

 

   CA InterTest for CICS r8.5 - PROTSYM FILE  UNCOND  BEFORE PROFILE

COMMAND ===>

Program= COB2DEMO Option #       Stmt #                             Margin= 01

                                        Search=

OPTS 1 Proc div  2 Work-stor 3 Link sect  4 D-map      5 Clst/Pmap More:   +

     6 Data xref 7 Proc xref 8 Err msgs   9 Srch fwd  10 Srch bwd

PFKS 1 Help      2 SDF       3 Det Bkpt   4 Auto prms  5 RESUME     6 Menu

     7 Backward  8 Forward   9           10 001 Verb  11 Backtrace 12 Status

-------------------------------------------------------------------------------

Display titles   = Y         Y (Titles), N (No titles), or R (Registers)

PF7/8 amount     = PAGE      PAGE, HALF, STOP, or a number from 1 to 9999

Step Timing      = BEFORE    Stop  Before  or  After  the next verb  is executed

Stepping amount  = 001       The number of verbs   to execute

Auto-stepping    = OFF       ON to activate; press PF4 to change values

Source List BKPT = ON        OFF to use the detailed breakpoint display

From terminal ID = U012      Terminal ID where the program will execute

BKPT terminal ID = U012      Terminal ID to receive the breakpoint displays

User ID          = .ANY      User ID who will execute this program

AutoKeep Display = ON        OFF to deactivate

Code Counting    = OFF       ON to activate Code Coverage

SDF              = DATA      HEX  for Hexadecimal/Character Format

 

 

Next field advance to the SDF setting and over type the DATA setting changing it to HEX. Press the Enter key and you will return you to the unconditional breakpoint screen.

 

 

   CA InterTest for CICS r8.5 - PROTSYM FILE  UNCOND  BEFORE BREAKPOINT

COMMAND ===>

Program= COB2DEMO Option #       Stmt #                             Margin= 01

                                        Search=

-------------------------------------------------------------------------------

_____ EIBTRNID                        | C4C5C3F2

_____ TSQ-TRANID                      | 00000000

---------+---------------------------------------------------------------------

   000410

_ 000411 PROCEDURE DIVISION using dfheiblk dfhcommarea.

_ 000412     MOVE EIBTRNID TO TSQ-TRANID.

 

You will notice that the value for the EIBTRNID is now displayed in hexadecimal format in the keep window. For additional details on customizing the profile parameters please reference the CA Intertest for CICS Users Guide and search on topic Customizing the Source Listing Profile.

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Tags and Keywords

Related Entries and Links

No Related Resource entered.