Sei sulla pagina 1di 21

INTERTEST IN A NUTSHELL

_____________________________________________________________________________________

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:

 The PROTSYM file.


2
 Newcopy function.
2
 The ITST transaction (Version 5) and CNTL transaction.
2

FOREGROUND MONITOR:

 Primary INTERTEST menus.


3
 Search for data elements in source listings. 4
 Setting unconditional breakpoints. 5
 Removing breakpoints. 5
 Source listing breakpoint=ON or OFF [Detail breakpoint option].
6

BACKGROUND TASK MONITOR:

 Set breakpoints by specifying paragraph, line number, or offset.


7
 Removing all breakpoints. 8

EXECUTING PROGRAM WITH INTERTEST:

 Current active line display.


9
 PF10 -- Single stepping through your program.
9
 PF5 -- Resume to next breakpoint. 9
 Abort an INTERTEST session.
9
 (D)isplay command to view and modify data values. 10
 (K)eep command to keep data element on screen. 11
 (G)o to command to bypass problem code. 12
 Resume execution from any point. 12
 Use backtrace in debugging.
13

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
_____________________________________________________________________________________

The PROTSYM file

1. From Primary option menu, enter “1” for SOURCE.


2. From Source menu, enter “2” for Symbolic file.
3. Select PROTSY3 to display the following screen:
******************************************************************************************
----------------- CA-InterTest 5.4 SOURCE LISTING SELECTION -----------------
COMMAND ===>

Type S to select a source listing.


More: +
Name File Created Size Attributes
_ MTGI016 PROTSY3 01/29/1999 12:12 360 COBOL II
_ MTGI019 PROTSY3 02/01/1999 15:59 504 COBOL II
_ MTGI020 PROTSY3 02/05/1999 14:19 393 COBOL II
_ MTGI021 PROTSY3 02/05/1999 15:02 387 COBOL II
_ MTGI060 PROTSY3 01/22/1999 15:26 320 COBOL II
_ MTGI061 PROTSY3 01/22/1999 15:28 453 COBOL II

PF1 Help 2 Refresh 3 End 4 Return 5 6


PF7 Backward 8 Forward 9 10 11 12
******************************************************************************************

NEWCOPY FUNCTION

1. From Primary option menu, enter “2” for Monitoring.


2. From Source menu, enter “1” for Programs.
3. Enter program name and select New Copy function.

******************************************************************************************
-------------------- CA-InterTest 5.4 PROGRAM MONITORING --------------------
COMMAND ===>

Type information and S to set or R to remove option(s) below.

Program . . MTGI124 Program name (or .ALL, .OPTIONS or generic)


User ID . . ________ User (or .ANY) for whom the program is monitored

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

PF1 Help 2 3 End 4 Return 5 6


PF7 Backward 8 Forward 9 10 11 12
******************************************************************************************

THE ITST TRANSACTION (VERSION 5) AND CNTL TRANSACTION

1. ITST is a version 5 enhancement.


2. CNTL is still available with limited features.

__________________________________________________________________________________
Date: 11/2/2021 Time: 11/2/2021
PAGE: 3
INTERTEST IN A NUTSHELL
_____________________________________________________________________________________

FOREGROUND MONITOR:

PRIMARY OPTION MENU

From a blank screen, enter ITST and hit enter.

******************************************************************************************
------------------- CA-InterTest 5.4 PRIMARY OPTION MENU --------------------
OPTION ===>

1 Source - Display/select program source files/listings


2 Monitoring - Display/modify CA-InterTest monitoring/activity
3 Main storage - Display/modify CICS storage areas
4 Auxiliary storage - Display/access databases/files/queues
5 Dump analysis - Invoke CA-SymDump CICS dump/trace capture facility
6 Product help - Invoke CA-InterTest product help facility
7 Status/Maintenance - Product status and maintenance functions
8 What's new? - Display information about CA-InterTest 5.4 release
X Exit - Terminate menu processing
******************************************************************************************

1. From Primary option menu, enter “1” for SOURCE.


2. From Source menu, enter “1” for Source listings, enter program name.

******************************************************************************************
----------------------- CA-InterTest 5.4 SOURCE MENU ------------------------
OPTION ===> 1

Select a member list type, specifying optional criteria below.

1 Source listings - Display/select program source listings


2 Symbolic files - Display/select program source SYMBOLIC files

Type specific or generic program/file name(s):


(Valid mask characters are * and/or +)

MTGI124 ________ ________ ________ ________ ________ ________ ________


******************************************************************************************

1. From the SOURCE LISTING SELECTION screen, select a program source.

__________________________________________________________________________________
Date: 11/2/2021 Time: 11/2/2021
PAGE: 4
INTERTEST IN A NUTSHELL
_____________________________________________________________________________________

SEARCH FOR DATA ELEMENTS IN SOURCE LISTINGS

1. Use option 9 to search forward, use option 10 to search backward.


2. Enter paragraph name or data name to be searched. For example:

******************************************************************************************
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* *
******************************************************************************************

will display the following screen.

******************************************************************************************
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
_____________________________________________________________________________________

SETTING UNCONDITIONAL BREAKPOINTS

1. Use PF7 to scroll backward, PF8 to scroll forward.


2. Use option 9 to search forward, use option 10 to search backward for next breakpoint.
3. Enter “U” in column 1 to set unconditional breakpoint.
4. After all breakpoints have been set, hit PF3 (END) repeatedly until you return to blank screen.

******************************************************************************************
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

Enter “X” in column 1 to remove any unconditional 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
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 OR OFF [DETAIL BREAKPOINT OPTION]

******************************************************************************************
Source listing breakpoint=ON is the TBC default. When this parameter is on, the following screen is
displayed:

CA-InterTest - PROTSY3 FILE SOURCE LISTING DISPLAY


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
---------+---------------------------------------------------------------------
08536
_ 08537 MOVE AMSASSCB-TWA-ADDRESS TO MTGW2030-AMSTWACB-PNTR.
_ ==> SET ADDRESS OF LS-AMSTWACB-DESCRIPTION
_ 08539 TO MTGW2030-AMSTWACB-POINTER.
08540
_ 08541 MOVE AMSTWACB-SCREEN-ADDRESS TO MTGW2030-MAP-PNTR.
_ 08542 SET ADDRESS OF LS-MAP-DESCRIPTION
_ 08543 TO MTGW2030-MAP-POINTER.
08544
08545*************** END OF COPYBOOK MTGP2030 *************************
08546
_ 08547 CALL 'AMSZ091' USING WS-IOAREA-ADDRESS
_ 08548 COMMON-IOAREA.
_ 08549 SET ADDRESS OF LS-MTGKGLB1-POINTER TO WS-IOAREA-POINTER.
******************************************************************************************

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.

Tran= AMS2 from term QRLH monitored as PROG=MTGI124 Back-trace


DFHCOMMAREA length=00954. #8432.0 #8438.0
#8438.0 #8440.0
08532* ADDRESSIBILITY TO THE TWA AND SCREEN A #8442.0 #8537.0
08533* USED BY SYSTEM SERVICES #8537.0 #8537.0
08534* #8537.0 to here.
08535*******************************************************
08537 MOVE AMSASSCB-TWA-ADDRESS TO MTGW2030-AMSTWA
08538 SET ADDRESS OF LS-AMSTWACB-DESCRIPTION
08539 TO MTGW2030-AMSTWA
08541 MOVE AMSTWACB-SCREEN-ADDRESS TO MTGW2030-MAP-PN
08542 SET ADDRESS OF LS-MAP-DESCRIPTION

Contents of relevant storage at address 0F909620:


00200430 *.... *

==> CNTL=GO,TASK=02673,C Margin:


Overtype the above or use a PF key or press ENTER to continue execution.
PF1 Help 2 3 Source 4 5 Resume 6 Menu
PF7 8 9 1 instruc 10 1 verb 11 Backtrace 12 Status
******************************************************************************************

__________________________________________________________________________________
Date: 11/2/2021 Time: 11/2/2021
PAGE: 7
INTERTEST IN A NUTSHELL
_____________________________________________________________________________________

BACKGROUND TASK MONITOR:

SET BREAKPOINTS BY SPECIFYING PARAGRAPH, LINE NUMBER, OR OFFSET

1. From Primary option menu, enter “2” for Monitoring.


2. From Source menu, enter “1” for Programs.
3. Enter program name and select UBP (Unconditional breakpoints) and hit enter.

******************************************************************************************
CA-InterTest MONITORING COMMAND BUILDER - COBOL BREAKPOINT LOCATIONS 11

SET breakpoint locations for PROG=MTGI124 in any of the following fields:


(For qualification by nested program name, specify 'Program-id:Label')
Para/Data _______________________________ _______________________________
Names: _______________________________ _______________________________
_______________________________ _______________________________
Statement
Numbers: _____ _____ _____ _____ _____ _____ _____ _____
Offsets: _____ _____ _____ _____ _____ _____ _____ _____

All Paragraph Names: _

Enter 'n' to stop only every n'th time: ____


Term ID (or .ANY or .NO) where breakpoints will take effect: ____
Term ID (or .ANY) that will receive the breakpoints: ____
Statement no. of indirect command(s) to be executed: _____
User ID (or .ANY) who will execute the program: ________

PF1 Help 2 3 End 4 Return 5 6


PF7 8 9 10 11 12
******************************************************************************************

Set breakpoints by entering:


1. Up to 6 paragraph or data names.
2. Up to 8 line numbers.
3. Up to 8 HEX offsets.

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

SET breakpoint locations for PROG=MTGI124 in any of the following fields:


(For qualification by nested program name, specify 'Program-id:Label')
Para/Data 0000-MAINLINE__________________ _______________________________
Names: _______________________________ _______________________________
_______________________________ _______________________________
Statement
Numbers: _____ _____ _____ _____ _____ _____ _____ _____
Offsets: _____ _____ _____ _____ _____ _____ _____ _____

All Paragraph Names: _

Enter 'n' to stop only every n'th time: ____


Term ID (or .ANY or .NO) where breakpoints will take effect: .ANY
Term ID (or .ANY) that will receive the breakpoints: ____
Statement no. of indirect command(s) to be executed: _____
User ID (or .ANY) who will execute the program: ________

PF1 Help 2 3 End 4 Return 5 6


PF7 8 9 10 11 12
******************************************************************************************

__________________________________________________________________________________
Date: 11/2/2021 Time: 11/2/2021
PAGE: 8
INTERTEST IN A NUTSHELL
_____________________________________________________________________________________

REMOVE ALL BREAKPOINTS BY TURNING OFF MONITORING

1. From Primary option menu, enter “2” for Monitoring.


2. From Source menu, enter “4” for Status.
3. Enter “R” next to the program you want to remove and hit enter.

__________________________________________________________________________________
Date: 11/2/2021 Time: 11/2/2021
PAGE: 9
INTERTEST IN A NUTSHELL
_____________________________________________________________________________________

EXECUTING PROGRAM WITH INTERTEST:

CURRENT ACTIVE LINE DISPLAY

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
******************************************************************************************

PF10 -- SINGLE STEPPING THROUGH YOUR PROGRAM

Hit PF10 to step through you program 1 verb at a time.

PF5 -- RESUME TO NEXT BREAKPOINT

Hit PF5 to go the next breakpoint, or the end of program if no more breakpoint is found.

ABORT AN INTERTEST SESSION

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
_____________________________________________________________________________________

(D)ISPLAY COMMAND TO VIEW AND MODIFY DATA VALUES

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).
******************************************************************************************

The result screen:

******************************************************************************************
CA-InterTest - MAIN STORAGE UTILITY - Termid = QRLH

Starting at Address = 208DA9 Hexadecimal Character


02 MTGPI124-PARAMETER-LIST | |
03 MTGPI124-SAVE-ACCOUNT | 40404040 40404040 404040 |
03 MTGPI124-SAVE-PERIOD | 4040 |
03 MTGPI124-SAVE-RPT-DATE | 0000000C | ....
03 MTGPI124-SAVE-CURRENCY | 404040 |
03 MTGPI124-SAVE-GL-FR-RANGE | 40404040 4040 |
03 MTGPI124-SAVE-GL-TO-RANGE | 40404040 4040 |
03 MTGPI124-CURSOR-POSITION | 0000 | ..
03 MTGPI124-LAST-KEY | D5E8E7C6 F0F0F8F9 F0F0F2F0 | NYXF00890020
| 404040F2 F2F0F0F1 F0F0F1F0 | 220010010
| 40404040 40404040 40404040 |
| 40404040 40404040 40404040 |
| 4040 |
03 MTGPI124-LAST-CCY-CODE | 404040 |
03 MTGPI124-LAST-ALICE-LIT | C1E2E2C5 E3E24040 40404040 | ASSETS
| 40404040 40404040 |
------------------------------------------------------------------------------
PF1 Help 2 3 End 4 Return 5 6
PF7 Backward 8 Forward 9 Caps Off 10 11 Redisplay 12 Structure
CORE='MTGPI124-PARAMETER-LIST'
******************************************************************************************

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
_____________________________________________________________________________________

(K)EEP COMMAND TO KEEP DATA ELEMENT ON SCREEN

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******************
******************************************************************************************

will result in the following screen being displayed:


******************************************************************************************
CA-InterTest - PROTSY3 FILE SOURCE LISTING BREAKPOINT
COMMAND ===>
Program= MTGI124 Option # 9 Stmt # Margin= 01
Search= WS-CURSOR-LINE

-------------------------------------------------------------------------------
_ 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
_____________________________________________________________________________________

(G)O TO COMMAND TO BYPASS PROBLEM CODE

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.

RESUME EXECUTION FROM ANY POINT

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.

1. From Source Listing screen, hit PF6 for MENU.


2. From BREAKPOINT PRIMARY OPTION MENU, enter “4” for RESUME.
 Enter 1 to resume at next instruction.
 Enter 2 to resume from a paragraph.
 Enter 3 to resume from a statement,
 Enter 4 to resume from an offset.
3. Enter the resume parameter according to the option selected.

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
_____________________________________________________________________________________

USE BACKTRACE IN DEBUGGING

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

Program= MTGI124 From 0020 To 0031 Of 0031

Specify S then ENTER to display Source Listing BACKTRACE


-------------------------------------------------------------------------------
PFKS 1 Help 2 Backtrace 3 End 4 5 1st Stmt 6 Last Stmt
7 Backward 8 Forward 9 10 11 Prev Bloc 12 Next Bloc
-------------------------------------------------------------------------------
S Bkmk Stmt Block ¦ Source Listing
_ ____ #8982.0->#8984.0¦ IF MTGPI120-ACCOUNT-OK
_ ____ #8992.0->#8993.0¦ IF MTGPI120-PERIOD-OK
_ ____ #9102.0->#9102.0¦ EXIT.
S ____ #8838.0->#8838.0¦ IF WS-ERROR-DETECTED
_ ____ #8844.0->#8844.0¦ IF AMSASSCB-CURRENT-PAGE = ZERO
_ ____ #8847.0->#8847.0¦ IF AMSTWACB-NEW-PAGING-REQUEST
_ ____ #8852.0->#8854.0¦ MOVE AMSTWACA-DATA-SYM TO AMSTWACB-SEND-I
_ ____ #9401.0->#9401.0¦ IF AMSTWACB-CURSOR-POSITION < MTGAI124-SCREEN-S
_ ____ #9415.0->#9423.0¦ SUBTRACT MTGAI124-SCREEN-SEL-START FROM
_ ____ #9434.0->#9443.0¦ SET MTGPI120-ORIGIN-FULL-TRIAL TO TRUE.
(2 times) ¦
_ ____ #9421.0->#9423.0¦ ADD +1 TO WS-CURSOR-LINE.
* ____ #9434.0... Bkpt ¦ SET MTGPI120-ORIGIN-FULL-TRIAL TO TRUE.
CAIN2987 Last Backtrace Stmt Block
******************************************************************************************

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

Enter LEFT SIDE


Data Name AMSASSCB-DEVICE-TYPE____________________________________________

Enter OPERATOR (EQ, NE, GT, LT, GE, LE): EQ

Enter RIGHT SIDE


Data Name ________________________________________________________________
OR
Literal C'2'_______________________________________________________________

For location:

08449 PERFORM 0000-MAINLINE

Press PF9 to go to complex conditional screen if necessary


1 Help 2 3 End 4 Return 5 6
PF7 8 9 Complex 10 11 12
******************************************************************************************

__________________________________________________________________________________
Date: 11/2/2021 Time: 11/2/2021
PAGE: 15
INTERTEST IN A NUTSHELL
_____________________________________________________________________________________

VARIABLE CHANGE BREAKPOINTS

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 ===>

Type information and S to set or R to remove option(s) below.

Program . . MTGI124_ Program name (or .ALL, .OPTIONS or generic)


User ID . . ________ User (or .ANY) for whom the program is monitored

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

PF1 Help 2 3 End 4 Return 5 6


PF7 Backward 8 Forward 9 10 11 12
******************************************************************************************

Set breakpoints by selecting the types of EXEC CICS or EXEC SQL commands.

******************************************************************************************
CA-InterTest MONITORING COMMAND BUILDER - REQUEST BREAKPOINT SELECTION

Set one or more types of Request Breakpoints in:


PROG=MTGI124

S ALL commands _ DL/I _ DB2 _ CALLs

_ Address, Assign, _ Storage Control _ BMS


Handles, Push, Pop _ Program Control _ Trace Control
_ Terminal Control _ Interval Control _ Dump Control
_ File Control _ Task Control _ Batch Data Interchange
_ TD Control _ Journal Control _ Built-In Functions
_ TS Control _ Syncpoints _ Sys Prog Functions

Enter 'n' to stop only every n'th time: ____


Term ID (or .ANY or .NO) where breakpoints will take effect: ____
Term ID (or .ANY) that will receive the breakpoints: ____
Statement no. of indirect command(s) to be executed: _____
User ID (or .ANY) who will execute the program: ________

PF1 Help 2 3 End 4 Return 5 6


PF7 8 9 10 11 12
******************************************************************************************

__________________________________________________________________________________
Date: 11/2/2021 Time: 11/2/2021
PAGE: 17
INTERTEST IN A NUTSHELL
_____________________________________________________________________________________

FILE DISPLAY AND MODIFY


INTERTEST allows you to read and update VSAM file records on-line while you are debugging
a program. This feature is especially helpful if you cannot find a record which meets your
testing criteria and need to create one on-line [without going to FILEAID].

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 ........ ........ ........ ........ ................

CA-InterTest Release 5.4

COPYRIGHT 1985, 1997


Computer Associates International, Inc.
ALL RIGHTS RESERVED

-------------------------------------------------------------------------------
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’]

The following screen will be displayed:

******************************************************************************************
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
_____________________________________________________________________________________

FILE UPDATE can be performed from the same screen.

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:

Format D -- Dump format [As shown in above example].


Format C -- Character format only, no Hex.
Format V -- Vertical . Both charcter and Hex.
Format S -- Structure. Allows mapping with copybook.

__________________________________________________________________________________
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 ........ ........ ........ ........ ................

CA-InterTest Release 5.4

COPYRIGHT 1985, 1997


Computer Associates International, Inc.
ALL RIGHTS RESERVED

-------------------------------------------------------------------------------
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
_____________________________________________________________________________________

CNTL, LIST, CORE, & FILE COMMANDS

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.

For example CNTL=INQ,PROG=MTGI124 will display the following:

******************************************************************************************
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.

For example LIST=MTGI124

CORE and FILE have not been changed.

__________________________________________________________________________________
Date: 11/2/2021 Time: 11/2/2021
PAGE: 21

Potrebbero piacerti anche