Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
_____________________________________________________________________________________
TOPICS: PAGE
1. INTERTEST basics
2. Foreground Task Monitor set-up
3. Background Task Monitor set-up
4. Executing program with INTERTEST.
5. Advance Features
INTERTEST BASICS:
FOREGROUND MONITOR:
ADVANCE FEATURES:
Conditional breakpoints. 14
Variable change breakpoints.
15
__________________________________________________________________________________
Date: 11/2/2021 Time: 11/2/2021
PAGE: 1
INTERTEST IN A NUTSHELL
_____________________________________________________________________________________
Request breakpoints.
16
File display and modify. 17
CNTL, LIST, CORE, and FILE commands. 20
__________________________________________________________________________________
Date: 11/2/2021 Time: 11/2/2021
PAGE: 2
INTERTEST IN A NUTSHELL
_____________________________________________________________________________________
NEWCOPY FUNCTION
******************************************************************************************
-------------------- CA-InterTest 5.4 PROGRAM MONITORING --------------------
COMMAND ===>
More: +
Option Description
_ Status Display and/or remove monitoring options (S only)
_ Monitor Monitoring (R removes monitoring and all options previously set)
_ UBP Unconditional breakpoints (specific program only)
_ CBP Conditional breakpoints (specific program only)
_ RBP Breakpoints for CICS, DB2, DL/I or external CALL requests
S New copy Fetch new copy of program and reset monitoring options (S only)
_ Commands Indirect commands defined for a specific COBOL or PL/1 program
_ Replace CICS resource name replacement options
_ Protect Storage protection monitoring options
_ Special Other options (storage allocation, file updating, etc.)
_ Composite Monitor multi-CSECT program's separately compiled components
__________________________________________________________________________________
Date: 11/2/2021 Time: 11/2/2021
PAGE: 3
INTERTEST IN A NUTSHELL
_____________________________________________________________________________________
FOREGROUND MONITOR:
******************************************************************************************
------------------- CA-InterTest 5.4 PRIMARY OPTION MENU --------------------
OPTION ===>
******************************************************************************************
----------------------- CA-InterTest 5.4 SOURCE MENU ------------------------
OPTION ===> 1
__________________________________________________________________________________
Date: 11/2/2021 Time: 11/2/2021
PAGE: 4
INTERTEST IN A NUTSHELL
_____________________________________________________________________________________
******************************************************************************************
CA-InterTest - PROTSY3 FILE SOURCE LISTING DISPLAY
COMMAND ===>
Program= MTGI124 Option # 9 Stmt # Margin= 01
Search= 0000-MAINLINE
OPTS 1 Proc div 2 Work-stor 3 Link sect 4 D-map 5 Clst/Pmap 6 Xref
7 Proc xref 8 Err msgs 9 Srch fwd 10 Srch bwd 11 Ind cmds 12 Bkpt opts
PFKS 1 Help 2 3 End 4 Profile 5 Monitor 6 Menu
7 Backward 8 Forward 9 10 11 12 Status
---------+---------------------------------------------------------------------
MESSAGES TOTAL INFORMATIONAL WARNING ERROR SEVERE TERMINATING
PRINTED: 1 1
00001 IDENTIFICATION DIVISION.
00002 PROGRAM-ID. MTGI124.
00003 AUTHOR. R M RAIKULA.
00004 DATE-WRITTEN. 01/27/92.
00005 DATE-COMPILED. 02/24/99.
00006 ENVIRONMENT DIVISION.
00007 DATA DIVISION.
00009*****************************************************************
00010* *
00011* M A S T E R T R U S T *
00012* *
00013* G L O B A L L O T A C C O U N T I N G *
00014* *
******************************************************************************************
******************************************************************************************
COMMAND ===>
Program= MTGI124 Option # 9 Stmt # Margin= 01
Search= 0000-MAINLINE
OPTS 1 Proc div 2 Work-stor 3 Link sect 4 D-map 5 Clst/Pmap 6 Xref
7 Proc xref 8 Err msgs 9 Srch fwd 10 Srch bwd 11 Ind cmds 12 Bkpt opts
PFKS 1 Help 2 3 End 4 Profile 5 Monitor 6 Menu
7 Backward 8 Forward 9 10 11 12 Status
---------+---------------------------------------------------------------------
08447
_ 08448 IF EIBCALEN = MTGW7007-COMMAREA-LENGTH
_ 08449 PERFORM 0000-MAINLINE
_ 08450 THRU 0000-EXIT
_ 08451 ELSE
_ 08452 COMPUTE MTGW7007-TRACE-LENGTH =
_ 08453 MTGW7007-COMMAREA-LENGTH
_ 08454 - AMSASSCA-SYSTEM-LENGTH
_ 08455 - MTSAOPCA-SYSTEM-LENGTH
_ 08456 MOVE MTGW7007-TRACE-ID TO AMSPI091-ERR-TRACE-ID
08457*EXEC CICS ABEND
08458* ABCODE (WS-UAM0-INVALID-COMM-LENGTH)
08459*END-EXEC.
_ 08460 MOVE ' - 00575 ' TO DFHEIV0
_ 08461 CALL 'DFHEI1' USING DFHEIV0 WS-UAM0-INVALID-COMM-LENGTH.
******************************************************************************************
__________________________________________________________________________________
Date: 11/2/2021 Time: 11/2/2021
PAGE: 5
INTERTEST IN A NUTSHELL
_____________________________________________________________________________________
******************************************************************************************
CA-InterTest - PROTSY3 FILE SOURCE LISTING DISPLAY
COMMAND ===>
Program= MTGI124 Option # 9 Stmt # Margin= 01
Search= 0000-MAINLINE
OPTS 1 Proc div 2 Work-stor 3 Link sect 4 D-map 5 Clst/Pmap 6 Xref
7 Proc xref 8 Err msgs 9 Srch fwd 10 Srch bwd 11 Ind cmds 12 Bkpt opts
PFKS 1 Help 2 3 End 4 Profile 5 Monitor 6 Menu
7 Backward 8 Forward 9 10 11 12 Status
---------+---------------------------------------------------------------------
08447
_ 08448 IF EIBCALEN = MTGW7007-COMMAREA-LENGTH
U 08449 PERFORM 0000-MAINLINE
_ 08450 THRU 0000-EXIT
_ 08451 ELSE
_ 08452 COMPUTE MTGW7007-TRACE-LENGTH =
_ 08453 MTGW7007-COMMAREA-LENGTH
_ 08454 - AMSASSCA-SYSTEM-LENGTH
_ 08455 - MTSAOPCA-SYSTEM-LENGTH
_ 08456 MOVE MTGW7007-TRACE-ID TO AMSPI091-ERR-TRACE-ID
08457*EXEC CICS ABEND
08458* ABCODE (WS-UAM0-INVALID-COMM-LENGTH)
08459*END-EXEC.
_ 08460 MOVE ' - 00575 ' TO DFHEIV0
_ 08461 CALL 'DFHEI1' USING DFHEIV0 WS-UAM0-INVALID-COMM-LENGTH.
******************************************************************************************
REMOVING BREAKPOINTS
******************************************************************************************
CA-InterTest - PROTSY3 FILE SOURCE LISTING DISPLAY
COMMAND ===>
Program= MTGI124 Option # 9 Stmt # Margin= 01
Search= 0000-MAINLINE
OPTS 1 Proc div 2 Work-stor 3 Link sect 4 D-map 5 Clst/Pmap 6 Xref
7 Proc xref 8 Err msgs 9 Srch fwd 10 Srch bwd 11 Ind cmds 12 Bkpt opts
PFKS 1 Help 2 3 End 4 Profile 5 Monitor 6 Menu
7 Backward 8 Forward 9 10 11 12 Status
---------+---------------------------------------------------------------------
08447
_ 08448 IF EIBCALEN = MTGW7007-COMMAREA-LENGTH
X 08449 PERFORM 0000-MAINLINE
_ 08450 THRU 0000-EXIT
_ 08451 ELSE
_ 08452 COMPUTE MTGW7007-TRACE-LENGTH =
_ 08453 MTGW7007-COMMAREA-LENGTH
_ 08454 - AMSASSCA-SYSTEM-LENGTH
_ 08455 - MTSAOPCA-SYSTEM-LENGTH
_ 08456 MOVE MTGW7007-TRACE-ID TO AMSPI091-ERR-TRACE-ID
08457*EXEC CICS ABEND
08458* ABCODE (WS-UAM0-INVALID-COMM-LENGTH)
08459*END-EXEC.
_ 08460 MOVE ' - 00575 ' TO DFHEIV0
_ 08461 CALL 'DFHEI1' USING DFHEIV0 WS-UAM0-INVALID-COMM-LENGTH.
******************************************************************************************
__________________________________________________________________________________
Date: 11/2/2021 Time: 11/2/2021
PAGE: 6
INTERTEST IN A NUTSHELL
_____________________________________________________________________________________
******************************************************************************************
Source listing breakpoint=ON is the TBC default. When this parameter is on, the following screen is
displayed:
When Source listing breakpoint=OFF is set, the detail breakpoint screen is displayed:
******************************************************************************************
Program MTGI124 stopped by CA-InterTest in statement 8538.0 (Offset +021F4)
CAIN3631 Single-stepping breakpoint.
__________________________________________________________________________________
Date: 11/2/2021 Time: 11/2/2021
PAGE: 7
INTERTEST IN A NUTSHELL
_____________________________________________________________________________________
******************************************************************************************
CA-InterTest MONITORING COMMAND BUILDER - COBOL BREAKPOINT LOCATIONS 11
To receive these breakpoint, enter “.ANY” on line which says “Term ID (or .ANY or .NO) where
breakpoints will take effect”. For example:
******************************************************************************************
CA-InterTest MONITORING COMMAND BUILDER - COBOL BREAKPOINT LOCATIONS 11
__________________________________________________________________________________
Date: 11/2/2021 Time: 11/2/2021
PAGE: 8
INTERTEST IN A NUTSHELL
_____________________________________________________________________________________
__________________________________________________________________________________
Date: 11/2/2021 Time: 11/2/2021
PAGE: 9
INTERTEST IN A NUTSHELL
_____________________________________________________________________________________
INTERTEST users “==>“ to display the program statement which is about to be executed.
******************************************************************************************
CA-InterTest - PROTSY3 FILE SOURCE LISTING BREAKPOINT
COMMAND ===>
Program= MTGI124 Option # Stmt # Margin= 01
Search=
OPTS 1 Proc div 2 Work-stor 3 Link sect 4 D-map 5 Clst/Pmap 6 Xref
7 Proc xref 8 Err msgs 9 Srch fwd 10 Srch bwd 11 Ind cmds 12 Bkpt opts
PFKS 1 Help 2 3 Det Bkpt 4 Profile 5 Resume 6 Menu
7 Backward 8 Forward 9 10 001 Verb 11 Backtrace 12 Status
---------+---------------------------------------------------------------------
08588
08589
_ ==> IF MTGPT003-TABLE-UPDATED
_ 08591 NEXT SENTENCE
_ 08592 ELSE
_ 08593 MOVE LOW-VALUES TO MTGPI849-PARAMETER-LIST
08594*EXEC CICS LINK
08595* PROGRAM (MTGAI849-PROGRAM-NAME)
08596* COMMAREA (MTGPI849-PARAMETER-LIST)
08597* LENGTH (MTGAI849-APPLICATION-LENGTH)
08598*END-EXEC
_ 08599 MOVE ' \ 00025 ' TO DFHEIV0
_ 08600 CALL 'DFHEI1' USING DFHEIV0 MTGAI849-PROGRAM-NAME
_ 08601 MTGPI849-PARAMETER-LIST MTGAI849-APPLICATION-LENGTH
08602
******************************************************************************************
Hit PF5 to go the next breakpoint, or the end of program if no more breakpoint is found.
You may abort an INTERTEST session from the source listing screen by forcing an abend. To force an
abend, hit PF6 for menu, then enter option 3 for abend.
__________________________________________________________________________________
Date: 11/2/2021 Time: 11/2/2021
PAGE: 10
INTERTEST IN A NUTSHELL
_____________________________________________________________________________________
At a breakpoint you may display the value of any field by entering a “D” in column 1 and position cursor
on to the variable you wish to display. “D” must be on the same line as the data variable.
******************************************************************************************
CA-InterTest - PROTSY3 FILE SOURCE LISTING BREAKPOINT
COMMAND ===>
Program= MTGI124 Option # 9 Stmt # Margin= 01
Search= MTGPI124-PARAMETER-LIST
OPTS 1 Proc div 2 Work-stor 3 Link sect 4 D-map 5 Clst/Pmap 6 Xref
7 Proc xref 8 Err msgs 9 Srch fwd 10 Srch bwd 11 Ind cmds 12 Bkpt opts
PFKS 1 Help 2 3 Det Bkpt 4 Profile 5 Resume 6 Menu
7 Backward 8 Forward 9 10 001 Verb 11 Backtrace 12 Status
---------+---------------------------------------------------------------------
07603*****************************************************************
07604
D 07605 05 MTGPI124-PARAMETER-LIST.
_ 07606 10 MTGPI124-SAVE-ACCOUNT PIC X(11).
_ 07607 10 MTGPI124-SAVE-PERIOD PIC X(02).
_ 07608 10 MTGPI124-SAVE-RPT-DATE COMP-3 PIC S9(07).
_ 07609 10 MTGPI124-SAVE-CURRENCY PIC X(03).
_ 07610 10 MTGPI124-SAVE-GL-FR-RANGE PIC X(06).
_ 07611 10 MTGPI124-SAVE-GL-TO-RANGE PIC X(06).
_ 07612 10 MTGPI124-CURSOR-POSITION COMP PIC S9(04).
_ 07613 10 MTGPI124-LAST-KEY PIC X(50).
_ 07614 10 MTGPI124-LAST-CCY-CODE PIC X(03).
_ 07615 10 MTGPI124-LAST-ALICE-LIT PIC X(20).
_ 07616 10 MTGPI124-VIEW-LIT PIC X(03).
_ 07617 10 MTGPI124-LAST-GL-ACCT-BYTE-1 PIC X(01).
******************************************************************************************
******************************************************************************************
CA-InterTest - MAIN STORAGE UTILITY - Termid = QRLH
To change the value of any data element, simply type over existing value with new ones. When you hit
PF3, the new value will be saved. This feature is only available when the Source Listing Breakpoint is set
to ON.
__________________________________________________________________________________
Date: 11/2/2021 Time: 11/2/2021
PAGE: 11
INTERTEST IN A NUTSHELL
_____________________________________________________________________________________
As you step through your program, use the “K” command to lock in any data field of interest on the
screen display. This is especially helpful if you are monitoring any changes in an index variable. Locate
the field you wish to keep, then enter “K” in column 1 to the left of that field and position the cursor over
the field.
******************************************************************************************
CA-InterTest - PROTSY3 FILE SOURCE LISTING BREAKPOINT
COMMAND ===>
Program= MTGI124 Option # 9 Stmt # Margin= 01
Search= WS-CURSOR-LINE
OPTS 1 Proc div 2 Work-stor 3 Link sect 4 D-map 5 Clst/Pmap 6 Xref
7 Proc xref 8 Err msgs 9 Srch fwd 10 Srch bwd 11 Ind cmds 12 Bkpt opts
PFKS 1 Help 2 3 Det Bkpt 4 Profile 5 Resume 6 Menu
7 Backward 8 Forward 9 10 001 Verb 11 Backtrace 12 Status
---------+---------------------------------------------------------------------
09418
_ 09419 DIVIDE WS-EIBCPOSN BY MTGAI124-LINE-SPACING
_ 09420 GIVING WS-CURSOR-LINE.
K 09421 ADD +1 TO WS-CURSOR-LINE.
09422
_ 09423 IF MTG4124-LIT1I (WS-CURSOR-LINE) = LOW-VALUES
_ 09424 MOVE WS-E9008-CSR-POS TO WS-SAVE-MSG-CODE
_ 09425 SET AMSTWACB-SEND-DATA-PHY TO TRUE
_ 09426 PERFORM 5999-LOAD-MESSAGE
_ 09427 THRU 5999-EXIT
_ 09428 GO TO 2100-EXIT.
09429
09430******************
09431** VALID VALUES - SAVE THEM
09432******************
******************************************************************************************
-------------------------------------------------------------------------------
_ WS-CURSOR-LINE | 0000 | ..
---------+---------------------------------------------------------------------
09418
_ 09419 DIVIDE WS-EIBCPOSN BY MTGAI124-LINE-SPACING
_ 09420 GIVING WS-CURSOR-LINE.
_ 09421 ADD +1 TO WS-CURSOR-LINE.
09422
_ 09423 IF MTG4124-LIT1I (WS-CURSOR-LINE) = LOW-VALUES
_ 09424 MOVE WS-E9008-CSR-POS TO WS-SAVE-MSG-CODE
_ 09425 SET AMSTWACB-SEND-DATA-PHY TO TRUE
_ 09426 PERFORM 5999-LOAD-MESSAGE
_ 09427 THRU 5999-EXIT
_ 09428 GO TO 2100-EXIT.
09429
09430******************
09431** VALID VALUES - SAVE THEM
09432******************
******************************************************************************************
Note: INTERTEST titles will not be displayed while the Keep command is active.
If you no longer want to keep WS-CURSOR-LINE, enter a “X” to the left of the field to remove it.
__________________________________________________________________________________
Date: 11/2/2021 Time: 11/2/2021
PAGE: 12
INTERTEST IN A NUTSHELL
_____________________________________________________________________________________
The go to command allows you to bypass problem code, such as a statement which if executed will result
in data exception. In the following example, the next line is 9434. A “G” command on line 9443 will
cause the program to bypass lines 9435 to 9442.
******************************************************************************************
CA-InterTest - PROTSY3 FILE SOURCE LISTING BREAKPOINT
COMMAND ===>
Program= MTGI124 Option # Stmt # Margin= 01
Search=
OPTS 1 Proc div 2 Work-stor 3 Link sect 4 D-map 5 Clst/Pmap 6 Xref
7 Proc xref 8 Err msgs 9 Srch fwd 10 Srch bwd 11 Ind cmds 12 Bkpt opts
PFKS 1 Help 2 3 Det Bkpt 4 Profile 5 Resume 6 Menu
7 Backward 8 Forward 9 10 001 Verb 11 Backtrace 12 Status
---------+---------------------------------------------------------------------
09432******************
09433
_ ==> SET MTGPI120-ORIGIN-FULL-TRIAL TO TRUE.
09435
_ 09436 MOVE AMSTWACB-CURSOR-POSITION TO MTGPI124-CURSOR-POSITION.
_ 09437 MOVE MTSAOPCB-ACCOUNT-NUMBER TO MTGPI124-SAVE-ACCOUNT.
_ 09438 MOVE MTSAOPCB-PERIOD TO MTGPI124-SAVE-PERIOD.
_ 09439 MOVE MTGPI120-SEL-CURRENCY TO MTGPI124-SAVE-CURRENCY.
_ 09440 MOVE MTGPI120-GL-RANGE-BEGIN TO MTGPI124-SAVE-GL-FR-RANGE.
_ 09441 MOVE MTGPI120-GL-RANGE-END TO MTGPI124-SAVE-GL-TO-RANGE.
09442
G 09443 MOVE MTG4124-CCYO TO MTGPI120-SEL-CURRENCY.
_ 09444 MOVE MTG4124-LIT1O (WS-CURSOR-LINE)
_ 09445 TO MTGPI120-GL-RANGE-BEGIN.
_ 09446 IF MTGPI120-GL-RANGE-END > SPACES
******************************************************************************************
Note: INTERTEST does not pause once it proceeds to the “GO TO” statement. In the above example,
the program will go from line 9434 to 9443, and then immediately to line 9444.
When you are debugging a program, there are times when you may have resolved a problem by fixing the
data with the (D)isplay command. INTERTEST allows you to go back and rerun the statements which
encountered the problem earlier with the modified data.
Note: INTERTEST does not pause once it restarts from the RESUME statement.
__________________________________________________________________________________
Date: 11/2/2021 Time: 11/2/2021
PAGE: 13
INTERTEST IN A NUTSHELL
_____________________________________________________________________________________
You will sometimes find that a program has landed at an unconditional breakpoint and you have no idea
how it got there. If this happens, use the backtrace feature to help with your analysis. Backtrace can be
activated from the Source Listing Screen by hitting PF11.
******************************************************************************************
CA-InterTest - BACKTRACE SUMMARY
If you select a block on the screen [#8838 above], INTERTEST will display the entire block. The
beginning or each block is highlighted. Statement numbers in parenthesis show the actual statements
which have been executed within that block. In this example the only statement executed within that
block is 8838. This is because condition IF WS-ERROR-DETECTED is false.
******************************************************************************************
CA-InterTest - PROTSY3 FILE SOURCE LISTING BACKTRACE
COMMAND ===>
Program= MTGI124 Option # Stmt # Margin= 01
Search=
OPTS 1 Proc div 2 Work-stor 3 Link sect 4 D-map 5 Clst/Pmap 6 Xref
7 Proc xref 8 Err msgs 9 Srch fwd 10 Srch bwd 11 Ind cmds 12 Bkpt opts
PFKS 1 Help 2 Summary 3 End 4 Profile 5 1st Stmt 6 Last Stmt
7 Backward 8 Forward 9 Prev Stmt 10 Next Stmt 11 Prev Bloc 12 Next Bloc
========> Backtrace at #08838 (08838 -> 08838 executed 1 times) <=========
_ 08836 PERFORM 2000-VALIDATE-LINE-4
_ 08837 THRU 2000-EXIT.
_ ====> IF WS-ERROR-DETECTED
_ 08839 MOVE AMSTWACA-ERASE-SYM TO AMSTWACB-SEND-INDICATOR
_ 08840 PERFORM 5000-INITIALIZE-SCREEN
_ 08841 THRU 5000-EXIT
_ 08842 GO TO 0300-EXIT.
08843
_ 08844 IF AMSASSCB-CURRENT-PAGE = ZERO
_ 08845 MOVE AMSTWACA-SW-ON TO AMSTWACB-PAGING-REQUEST-SW.
08846
_ 08847 IF AMSTWACB-NEW-PAGING-REQUEST
_ 08848 PERFORM 4000-BUILD-SCREEN
_ 08849 THRU 4000-EXIT
_ 08850 GO TO 0300-EXIT.
******************************************************************************************
__________________________________________________________________________________
Date: 11/2/2021 Time: 11/2/2021
PAGE: 14
INTERTEST IN A NUTSHELL
_____________________________________________________________________________________
ADVANCE FEATURES:
CONDITIONAL BREAKPOINTS
You may request conditional breakpoints on any statement. Conditional breakpoints will only take effect
when the condition you specified is met.
1. From the Source Listing screen, enter “C” in column 1 to set conditional breakpoint.
******************************************************************************************
CA-InterTest - PROTSY3 FILE SOURCE LISTING DISPLAY
COMMAND ===>
Program= MTGI124 Option # 9 Stmt # Margin= 01
Search= 0000-MAINLINE
OPTS 1 Proc div 2 Work-stor 3 Link sect 4 D-map 5 Clst/Pmap 6 Xref
7 Proc xref 8 Err msgs 9 Srch fwd 10 Srch bwd 11 Ind cmds 12 Bkpt opts
PFKS 1 Help 2 3 End 4 Profile 5 Monitor 6 Menu
7 Backward 8 Forward 9 10 11 12 Status
---------+---------------------------------------------------------------------
08447
_ 08448 IF EIBCALEN = MTGW7007-COMMAREA-LENGTH
C 08449 PERFORM 0000-MAINLINE
_ 08450 THRU 0000-EXIT
_ 08451 ELSE
_ 08452 COMPUTE MTGW7007-TRACE-LENGTH =
_ 08453 MTGW7007-COMMAREA-LENGTH
_ 08454 - AMSASSCA-SYSTEM-LENGTH
_ 08455 - MTSAOPCA-SYSTEM-LENGTH
_ 08456 MOVE MTGW7007-TRACE-ID TO AMSPI091-ERR-TRACE-ID
08457*EXEC CICS ABEND
08458* ABCODE (WS-UAM0-INVALID-COMM-LENGTH)
08459*END-EXEC.
_ 08460 MOVE ' - 00575 ' TO DFHEIV0
_ 08461 CALL 'DFHEI1' USING DFHEIV0 WS-UAM0-INVALID-COMM-LENGTH.
******************************************************************************************
In this case, we want the breakpoint to take effect only if the program is run on a mod 2 terminal.
******************************************************************************************
CA-InterTest MONITORING COMMAND BUILDER - CONDITIONAL BREAKPOINT
For location:
__________________________________________________________________________________
Date: 11/2/2021 Time: 11/2/2021
PAGE: 15
INTERTEST IN A NUTSHELL
_____________________________________________________________________________________
You may request a breakpoint so that it only takes effect if the value in a specified data field changes.
1. From the Source Listing screen, enter “V” in column 1 to set variable breakpoint.
2. Move the cursor to the data name which triggers the breakpoint and hit enter.
In the following example, if the cursor is over WS-CURSOR-LINE, the breakpoint will activate when the
value of WS-CURSOR-LINE changes.
******************************************************************************************
COMMAND ===>
Program= MTGI124 Option # 10 Stmt # Margin= 01
Search= WS-CURSOR-LINE
OPTS 1 Proc div 2 Work-stor 3 Link sect 4 D-map 5 Clst/Pmap 6 Xref
7 Proc xref 8 Err msgs 9 Srch fwd 10 Srch bwd 11 Ind cmds 12 Bkpt opts
PFKS 1 Help 2 3 Det Bkpt 4 Profile 5 Resume 6 Menu
7 Backward 8 Forward 9 10 001 Verb 11 Backtrace 12 Status
---------+---------------------------------------------------------------------
09414
_ 09415 SUBTRACT MTGAI124-SCREEN-SEL-START FROM
_ 09416 AMSTWACB-CURSOR-POSITION
_ 09417 GIVING WS-EIBCPOSN.
09418
_ 09419 DIVIDE WS-EIBCPOSN BY MTGAI124-LINE-SPACING
_ 09420 GIVING WS-CURSOR-LINE.
_ 09421 ADD +1 TO WS-CURSOR-LINE.
09422
V 09423 IF MTG4124-LIT1I (WS-CURSOR-LINE) = LOW-VALUES
_ 09424 MOVE WS-E9008-CSR-POS TO WS-SAVE-MSG-CODE
_ 09425 SET AMSTWACB-SEND-DATA-PHY TO TRUE
_ 09426 PERFORM 5999-LOAD-MESSAGE
_ 09427 THRU 5999-EXIT
_ 09428 GO TO 2100-EXIT.
******************************************************************************************
__________________________________________________________________________________
Date: 11/2/2021 Time: 11/2/2021
PAGE: 16
INTERTEST IN A NUTSHELL
_____________________________________________________________________________________
REQUEST BREAKPOINTS
Request breakpoints are used if you need to interrupt the program at CICS or DB2 commands.
Request breakpoints are only available from the program monitor screen [option 2.1 from the
primary option menu].
Request breakpoints is similar to CEDF.
Request breakpoints can be used in conjunction with other breakpoints.
******************************************************************************************
-------------------- CA-InterTest 5.4 PROGRAM MONITORING --------------------
COMMAND ===>
More: +
Option Description
_ Status Display and/or remove monitoring options (S only)
_ Monitor Monitoring (R removes monitoring and all options previously set)
_ UBP Unconditional breakpoints (specific program only)
_ CBP Conditional breakpoints (specific program only)
S RBP Breakpoints for CICS, DB2, DL/I or external CALL requests
_ New copy Fetch new copy of program and reset monitoring options (S only)
_ Commands Indirect commands defined for a specific COBOL or PL/1 program
_ Replace CICS resource name replacement options
_ Protect Storage protection monitoring options
_ Special Other options (storage allocation, file updating, etc.)
_ Composite Monitor multi-CSECT program's separately compiled components
Set breakpoints by selecting the types of EXEC CICS or EXEC SQL commands.
******************************************************************************************
CA-InterTest MONITORING COMMAND BUILDER - REQUEST BREAKPOINT SELECTION
__________________________________________________________________________________
Date: 11/2/2021 Time: 11/2/2021
PAGE: 17
INTERTEST IN A NUTSHELL
_____________________________________________________________________________________
FILE DISPLAY can be invoked from the INTERTEST PRIMARY OPTION MENU by entering option 4
[Auxiliary Storage]. It may also be invoked during the debugging process from the Source
Listing Display screen by entering FILE on the command line. In either case, the
following screen will be displayed.
******************************************************************************************
DATATYPE= FC FILEID= MODE= LOG=OFF TODEST= PASSWORD=
FUNC= SUBFUNC= RETMETH= ARGTYP= SRCHTYP=
MESSAGE=
RETNRCID= CHGLEN=
RCID=
DATA= SIZE= 0000
FORMAT= D 00112233 44556677 8899AABB CCDDEEFF *0123456789ABCDEF*
LOC 0000 ........ ........ ........ ........ ................
-------------------------------------------------------------------------------
1 Help 2 Format C 3 End 4 BEGB 5 6 DataType DL
7 Page bwd 8 Page fwd 9 Caps Off 10 Top 11 Bottom 12
******************************************************************************************
To retrieve a record for viewing, enter the following fields and hit PF4.
FILEID = VSAM file name [eg. MTGKACT, MTGKTBL]
RECID = Full or generic key [e.g. C’NYXF0089002’]
******************************************************************************************
DATATYPE= FC FILEID= MTGKACT MODE=BROWSELOG=OFF TODEST= PASSWORD=
FUNC= NEXT SUBFUNC= RETMETH= ARGTYP= SRCHTYP=
MESSAGE= CAIN0601 RECORD OBTAINED FOR VIEWING
RETNRCID=D5E8E7C6F0F0F8F9F0F0F2F1F0 CHGLEN=
RCID= C'NYXF008900210'
DATA= SIZE= 0352
FORMAT= D 00112233 44556677 8899AABB CCDDEEFF *0123456789ABCDEF*
LOC 0000 ........ ........ ........ ........ ................
0000 40D5E8E7 C6F0F0F8 F9F0F0F2 F1F0E3E3 NYXF008900210TT DSORG=VSKS
0010 C3D7D1C6 C1400970 108C0154 612CD4E3 CPJFA ....../.MT RECFM=VB
0020 C7C2F9F2 F7400980 218C0082 922C0352 GB927 .....bk... LRECL=05EA
0030 F1F1F9F0 F0F0F8F9 F0F0F440 40E2C1D3 11900089004 SAL BLKSIZE=0000
0040 C1D9E840 E2C1E5C9 D5C7E240 D7D3C1D5 ARY SAVINGS PLAN KEYPOS=0001
0050 40D5E8D5 C5E740C3 D6D9D7D6 D9C1E3C9 NYNEX CORPORATI KEYLEN=0D
0060 D6D54040 40404040 40404040 40404040 ON STRNO=04
0070 40404040 40404040 40E2C1D3 C1D9E840 SALARY
0080 E2C1E5C9 D5C7E240 D7D3C1D5 40E4D5C9 SAVINGS PLAN UNI READ
0090 E3C9E9C5 C4404040 40404040 40404040 TIZED ADD
00A0 40097010 1C097092 5CF1F0C2 E2C44040 ......k*10BSD UPDATE
00B0 40404040 4040F0F0 F9F9C4F2 F560F1F4 0099D25-14 BROWSE
00C0 F4F8F2F0 F840F0F0 F0F0F2F0 F0F1C440 48208 00002001D DELETE
-------------------------------------------------------------------------------
1 Help 2 Format C 3 End 4 ENDB 5 PREV 6 DataType DL
7 Page bwd 8 Page fwd 9 Caps Off 10 Top 11 Bottom 12
******************************************************************************************
__________________________________________________________________________________
Date: 11/2/2021 Time: 11/2/2021
PAGE: 18
INTERTEST IN A NUTSHELL
_____________________________________________________________________________________
If you wish to clone the MTGKACT record retrieved above into account LSLF0089002,
enter FUNC=ADDU to create a work area. Update the record in the work area and
enter the changes below:
******************************************************************************************
DATATYPE= FC FILEID= MTGKACT MODE= LOG=OFF TODEST= PASSWORD=
FUNC=PUT SUBFUNC= RETMETH= ARGTYP= SRCHTYP=
MESSAGE=CAIN0603 WORK AREA OBTAINED
RETNRCID=D3E2D3C6F0F0F8F9F0F0F2F1F0 CHGLEN=
RCID= C'LSLF008900210'
DATA= SIZE= 05EA
FORMAT= D 00112233 44556677 8899AABB CCDDEEFF *0123456789ABCDEF*
LOC 0000 ........ ........ ........ ........ ................
0000 40D3E2D3 C6F0F0F8 F9F0F0F2 F1F0E3E3 LSLF008900210TT DSORG=VSKS
0010 C3D7D1C6 C1400970 108C0154 612CD4E3 CPJFA ....../.MT RECFM=VB
0020 C7C2F9F2 F7400980 218C0082 922C0352 GB927 .....bk... LRECL=05EA
0030 F1F1F9F0 F0F0F8F9 F0F0F440 40E2C1D3 11900089004 SAL BLKSIZE=0000
0040 C1D9E840 E2C1E5C9 D5C7E240 D7D3C1D5 ARY SAVINGS PLAN KEYPOS=0001
0050 40D5E8D5 C5E740C3 D6D9D7D6 D9C1E3C9 NYNEX CORPORATI KEYLEN=0D
0060 D6D54040 40404040 40404040 40404040 ON STRNO=04
0070 40404040 40404040 40E2C1D3 C1D9E840 SALARY
0080 E2C1E5C9 D5C7E240 D7D3C1D5 40E4D5C9 SAVINGS PLAN UNI READ
0090 E3C9E9C5 C4404040 40404040 40404040 TIZED ADD
00A0 40097010 1C097092 5CF1F0C2 E2C44040 ......k*10BSD UPDATE
00B0 40404040 4040F0F0 F9F9C4F2 F560F1F4 0099D25-14 BROWSE
00C0 F4F8F2F0 F840F0F0 F0F0F2F0 F0F1C440 48208 00002001D DELETE
-------------------------------------------------------------------------------
1 Help 2 Format C 3 End 4 BEGB 5 6 DataType DL
7 Page bwd 8 Page fwd 9 Caps Off 10 Top 11 Bottom 12
******************************************************************************************
The PUT command is used to add or rewrite a VSAM record. For a complete list of file commands,
please go to page 11-27 of the INTERTEST USER GUIDE.
FILE can display records in multiple formats. Use PF2 to select from one of the available formats:
__________________________________________________________________________________
Date: 11/2/2021 Time: 11/2/2021
PAGE: 19
INTERTEST IN A NUTSHELL
_____________________________________________________________________________________
Occasionally, you may need to perform a “file fix” to get around a problem such as
unpacked data on a packed field. With INTERTEST, you can update a record while you are
debugging a problem.
From the Source Listing Breakpoint, enter FILE on the command line. Enter the name of the
file you wish to modify, function code of GETU, and the full record key.
******************************************************************************************
DATATYPE= FC FILEID= MTGKACT MODE= LOG=OFF TODEST= PASSWORD=
FUNC= GETU SUBFUNC= RETMETH= ARGTYP= SRCHTYP=
MESSAGE=
RETNRCID= CHGLEN=
RCID= C'LSLF008900210'
DATA= SIZE= 0000
FORMAT= D 00112233 44556677 8899AABB CCDDEEFF *0123456789ABCDEF*
LOC 0000 ........ ........ ........ ........ ................
-------------------------------------------------------------------------------
1 Help 2 Format C 3 End 4 BEGB 5 6 DataType DL
7 Page bwd 8 Page fwd 9 Caps Off 10 Top 11 Bottom 12
******************************************************************************************
Once the record is displayed, type in your changes and then update it with FUNC= PUT.
******************************************************************************************
DATATYPE= FC FILEID= MTGKACT MODE=UPDATELOG=OFF TODEST= PASSWORD=
FUNC= PUT SUBFUNC= RETMETH= ARGTYP= SRCHTYP=
MESSAGE= CAIN0611 RECORD OBTAINED FOR UPDATE
RETNRCID=D3E2D3C6F0F0F8F9F0F0F2F1F0 CHGLEN=
RCID= C'LSLF008900210'
DATA= SIZE= 05EA
FORMAT= D 00112233 44556677 8899AABB CCDDEEFF *0123456789ABCDEF*
LOC 0000 ........ ........ ........ ........ ................
0000 40D3E2D3 C6F0F0F8 F9F0F0F2 F1F0E3E3 LSLF008900210TT DSORG=VSKS
0010 C3D7D1C6 C1400970 108C0154 612CD4E3 CPJFA ....../.MT RECFM=VB
0020 C7C2F9F2 F7400980 218C0082 922C0352 GB927 .....bk... LRECL=05EA
0030 F1F1F9F0 F0F0F8F9 F0F0F440 40E2C1D3 11900089004 SAL BLKSIZE=0000
0040 C1D9E840 E2C1E5C9 D5C7E240 D7D3C1D5 ARY SAVINGS PLAN KEYPOS=0001
0050 40D5E8D5 C5E740C3 D6D9D7D6 D9C1E3C9 LES LEE INCORPO KEYLEN=0D
0060 D6D54040 40404040 40404040 40404040 RATED STRNO=04
0070 40404040 40404040 40E2C1D3 C1D9E840 SALARY
0080 E2C1E5C9 D5C7E240 D7D3C1D5 40E4D5C9 SAVINGS PLAN UNI READ
0090 E3C9E9C5 C4404040 40404040 40404040 TIZED ADD
00A0 40097010 1C097092 5CF1F0C2 E2C44040 ......k*10BSD UPDATE
00B0 40404040 4040F0F0 F9F9C4F2 F560F1F4 0099D25-14 BROWSE
00C0 F4F8F2F0 F840F0F0 F0F0F2F0 F0F1C440 48208 00002001D DELETE
-------------------------------------------------------------------------------
1 Help 2 Format C 3 End 4 BEGB 5 6 DataType DL
7 Page bwd 8 Page fwd 9 Caps Off 10 Top 11 Bottom 12
******************************************************************************************
__________________________________________________________________________________
Date: 11/2/2021 Time: 11/2/2021
PAGE: 20
INTERTEST IN A NUTSHELL
_____________________________________________________________________________________
With INTERTEST version 5, the old commands of CNTL, LIST, CORE and FILE are still available.
CNTL will no longer support Source Listing Display. However, breakpoints ,monitoring and utilities are
still available.
******************************************************************************************
CA-InterTest 5.4 Activity Report, 8:47 a.m at terminal QRFI
CICS Trace for InterTest internals is on.
No currently monitored tasks found.
Automatic BreakPoint feature is globally active.
Automatic BreakPoint default terminal is not declared.
MTGI124 For userid .ANY
Symbolic file is PROTSY3
UBP offset= +024F0 at=#8505
from=QRFI to=QRFI
SLB terminal is QRFI - Source Listing Breakpoints are on.
Listing view profile: Default.
* Entry not active
* End of Report *
-------------------------------------------------------------------------------
PF1:Top PF7:Up PF8 or Enter:Down PF3 or Clear:End PF4:Refresh. Page 001
******************************************************************************************
LIST has not been changed. It is still available as an express entry to Source Listing Display.
__________________________________________________________________________________
Date: 11/2/2021 Time: 11/2/2021
PAGE: 21