When you are stopped at a breakpoint, you can request the display of the value of a variable directly from the source listing.
The following screen shows how to display the value of a variable where it is defined.
CA InterTest for CICS Release 9.1.00 - PROTSYM FILE SOURCE LISTING DISPLAY COMMAND ===> Program= ASMDEMO Option # Stmt # Displacement= Margin= 01 Search= ----------+-------------------------------------------------------------------- Loc Object Code Addr1 Addr2 Stmt Source Statement _ 000188 366 TSSWITCH DS CL1 d 000189 367 TASKNUM DS PL3 _ 00018C 368 TSTEXT DS CL32 _ 0001AC 369 MSGNAME DS F _ 0001B0 370 MSGLEN DS H _ 0001B2 371 RECRBA DS CL4' ' _ 0001B8 372 RECPONT DS F 373 *********************************** 374 COPY IN25AMP _ 0001BC 375= DS 0H 001BC 376=DMAP04AS EQU * . _ 0001BC 377= DS 12C . TI _ 0001C8 379=RECOUT1L DS CL2 . INPUT DATA FI _ 0001CA 380=RECOUT1F DS 0C . DATA FIELD FL _ 0001CA 381=RECOUT1A DS C . DATA FIELD AT _ 0001CB 382=RECOUT1I DS 0CL40 . INPUT DATA _ 0001CB 383=RECOUT1O DS CL40 . OUTPUT DATA _ 0001F3 385=RECOUT2L DS CL2 . INPUT DATA FI
CA InterTest for CICS responds by requesting the base register. Specify the register, as shown in the following screen.
CA InterTest for CICS Release 9.1.00 - PROTSYM FILE SOURCE LISTING DISPLAY COMMAND ===> Program= ASMDEMO Option # Stmt # Displacement= Margin= 01 Search= ------------------------------------------------------------------------------- BASE ________ for TASKNUM Overtype Underscores with a Base register For example: R1 or TIOABAR
CA InterTest for CICS then displays the contents of the variable, as shown in the following panel:
CA InterTest for CICS Release 9.1.00 - MAIN STORAGE UTILITY - Termid = U015 Starting at Address = 100CE8 Disp Structure Display Format TASKNUM 189 | ?00000. | TSTEXT 18C | ............ | | ............ | | ........ | MSGNAME 1AC | 0000000000. | MSGLEN 1B0 | +00469. | RECRBA 1B2 | ...... | RECPONT 1B8 | 0000000000. | 1BC | 00000. | DMAP04AS 1BC | | 1BC | ............ | RECOUT1L 1C8 | .. | RECOUT1F 1CA | . | RECOUT1A 1CA | . | RECOUT1I 1CB | . | RECOUT1O 1CB | ............ | ------------------------------------------------------------------------------ PF1 Help 2 3 End 4 Return 5 6 Dump PF7 Backward 8 Forward 9 Caps Off 10 11 Redisplay 12 Structure CORE='R13.TASKNUM' CAIN4713 R13 not found - have assumed its register value
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|