Intrtest_brownbag.doc

download Intrtest_brownbag.doc

of 21

Transcript of Intrtest_brownbag.doc

  • 8/14/2019 Intrtest_brownbag.doc

    1/20

    INTERTEST IN A NUTSHELL_____________________________________________________________________________________

    TOPICS: PAGE

    1. INTERTEST basics2. Foreground Task Monitor set-up3. Background Task Monitor set-up4. 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 Request breakpoints. 16 File display and modify. 17 CNTL, LIST, CORE, and FILE commands. 20

    __________________________________________________________________________________Date: 8/5/2011 Time: 8/5/2011PAGE: 1

  • 8/14/2019 Intrtest_brownbag.doc

    2/20

    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 6PF7 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 requestsS 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 6PF7 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: 8/5/2011 Time: 8/5/2011PAGE: 2

  • 8/14/2019 Intrtest_brownbag.doc

    3/20

    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/listings2 Monitoring - Display/modify CA-InterTest monitoring/activity3 Main storage - Display/modify CICS storage areas4 Auxiliary storage - Display/access databases/files/queues5 Dump analysis - Invoke CA-SymDump CICS dump/trace capture facility6 Product help - Invoke CA-InterTest product help facility7 Status/Maintenance - Product status and maintenance functions8 What's new? - Display information about CA-InterTest 5.4 releaseX 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 listings2 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: 8/5/2011 Time: 8/5/2011PAGE: 3

  • 8/14/2019 Intrtest_brownbag.doc

    4/20

    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 DISPLAYCOMMAND ===>Program= MTGI124 Option # 9 Stmt # Margin= 01

    Search= 0000-MAINLINEOPTS 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 optsPFKS 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 TERMINATINGPRINTED: 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-MAINLINEOPTS 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 Menu7 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-ID08457*EXEC CICS ABEND08458* 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: 8/5/2011 Time: 8/5/2011PAGE: 4

  • 8/14/2019 Intrtest_brownbag.doc

    5/20

    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 DISPLAYCOMMAND ===>Program= MTGI124 Option # 9 Stmt # Margin= 01

    Search= 0000-MAINLINEOPTS 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 optsPFKS 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-LENGTHU 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-ID08457*EXEC CICS ABEND08458* 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-MAINLINEOPTS 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 optsPFKS 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-LENGTHX 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-ID08457*EXEC CICS ABEND08458* 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: 8/5/2011 Time: 8/5/2011PAGE: 5

  • 8/14/2019 Intrtest_brownbag.doc

    6/20

    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 isdisplayed:

    CA-InterTest - PROTSY3 FILE SOURCE LISTING DISPLAYCOMMAND ===>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 optsPFKS 1 Help 2 3Det 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.

    0854408545*************** 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-traceDFHCOMMAREA length=00954. #8432.0 #8438.0

    #8438.0 #8440.0

    08532* ADDRESSIBILITY TO THE TWA AND SCREEN A #8442.0 #8537.008533* USED BY SYSTEM SERVICES #8537.0 #8537.008534* #8537.0 to here.08535*******************************************************08537 MOVE AMSASSCB-TWA-ADDRESS TO MTGW2030-AMSTWA08538 SET ADDRESS OF LS-AMSTWACB-DESCRIPTION08539 TO MTGW2030-AMSTWA08541 MOVE AMSTWACB-SCREEN-ADDRESS TO MTGW2030-MAP-PN08542 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: 8/5/2011 Time: 8/5/2011PAGE: 6

  • 8/14/2019 Intrtest_brownbag.doc

    7/20

    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: _______________________________ _______________________________

    _______________________________ _______________________________StatementNumbers: _____ _____ _____ _____ _____ _____ _____ _____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 6PF7 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) wherebreakpoints 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: _______________________________ _______________________________

    _______________________________ _______________________________StatementNumbers: _____ _____ _____ _____ _____ _____ _____ _____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 6PF7 8 9 10 11 12

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

    __________________________________________________________________________________Date: 8/5/2011 Time: 8/5/2011PAGE: 7

  • 8/14/2019 Intrtest_brownbag.doc

    8/20

    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: 8/5/2011 Time: 8/5/2011PAGE: 8

  • 8/14/2019 Intrtest_brownbag.doc

    9/20

    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 BREAKPOINTCOMMAND ===>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 optsPFKS 1 Help 2 3 Det Bkpt 4 Profile 5 Resume 6 Menu

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

    0858808589

    _ ==> IF MTGPT003-TABLE-UPDATED_ 08591 NEXT SENTENCE_ 08592 ELSE_ 08593 MOVE LOW-VALUES TO MTGPI849-PARAMETER-LIST08594*EXEC CICS LINK08595* 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-LENGTH08602

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

    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 anabend, hit PF6 for menu, then enter option 3 for abend.

    __________________________________________________________________________________Date: 8/5/2011 Time: 8/5/2011PAGE: 9

  • 8/14/2019 Intrtest_brownbag.doc

    10/20

    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 cursoron to the variable you wish to display. D must be on the same line as the data variable.

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

    CA-InterTest - PROTSY3 FILE SOURCE LISTING BREAKPOINTCOMMAND ===>Program= MTGI124 Option # 9 Stmt # Margin= 01

    Search= MTGPI124-PARAMETER-LISTOPTS 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 optsPFKS 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 Character02 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 6PF7 Backward 8 Forward 9 Caps Off 10 11 Redisplay 12 StructureCORE='MTGPI124-PARAMETER-LIST'

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

    To change the value of any data element, simply type over existing value with new ones. When you hitPF3, the new value will be saved. This feature is only available when the Source Listing Breakpoint is setto ON.

    __________________________________________________________________________________Date: 8/5/2011 Time: 8/5/2011PAGE: 10

  • 8/14/2019 Intrtest_brownbag.doc

    11/20

    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 thescreen display. This is especially helpful if you are monitoring any changes in an index variable. Locatethe field you wish to keep, then enter K in column 1 to the left of that field and position the cursor overthe field.

    ******************************************************************************************CA-InterTest - PROTSY3 FILE SOURCE LISTING BREAKPOINTCOMMAND ===>Program= MTGI124 Option # 9 Stmt # Margin= 01

    Search= WS-CURSOR-LINEOPTS 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 optsPFKS 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.K09421 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.0942909430******************09431** VALID VALUES - SAVE THEM09432******************

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

    will result in the following screen being displayed:

    ******************************************************************************************CA-InterTest - PROTSY3 FILE SOURCE LISTING BREAKPOINTCOMMAND ===>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.0942909430******************

    09431** VALID VALUES - SAVE THEM09432******************

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

    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: 8/5/2011 Time: 8/5/2011PAGE: 11

  • 8/14/2019 Intrtest_brownbag.doc

    12/20

    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 resultin data exception. In the following example, the next line is 9434. A G command on line 9443 willcause the program to bypass lines 9435 to 9442.

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

    CA-InterTest - PROTSY3 FILE SOURCE LISTING BREAKPOINTCOMMAND ===>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 optsPFKS 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 thedata with the (D)isplay command. INTERTEST allows you to go back and rerun the statements whichencountered 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: 8/5/2011 Time: 8/5/2011PAGE: 12

  • 8/14/2019 Intrtest_brownbag.doc

    13/20

    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 ideahow it got there. If this happens, use the backtrace feature to help with your analysis. Backtrace can beactivated from the Source Listing Screen by hitting PF11.******************************************************************************************

    CA-InterTest - BACKTRACE SUMMARY

    Program= MTGI124 From 0020 To 0031 Of 0031Specify 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. Thebeginning or each block is highlighted. Statement numbers in parenthesis show the actual statementswhich 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 optsPFKS 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) 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: 8/5/2011 Time: 8/5/2011PAGE: 13

  • 8/14/2019 Intrtest_brownbag.doc

    14/20

    INTERTEST IN A NUTSHELL_____________________________________________________________________________________

    ADVANCE FEATURES:

    CONDITIONAL BREAKPOINTS

    You may request conditional breakpoints on any statement. Conditional breakpoints will only take effectwhen 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 DISPLAYCOMMAND ===>Program= MTGI124 Option # 9 Stmt # Margin= 01

    Search= 0000-MAINLINEOPTS 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 optsPFKS 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-LENGTHC 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-ID08457*EXEC CICS ABEND08458* 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 SIDEData NameAMSASSCB-DEVICE-TYPE____________________________________________

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

    Enter RIGHT SIDEData Name ________________________________________________________________

    ORLiteral C'2'_______________________________________________________________

    For location:

    08449 PERFORM 0000-MAINLINE

    Press PF9 to go to complex conditional screen if necessary1 Help 2 3 End 4 Return 5 6

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

    __________________________________________________________________________________Date: 8/5/2011 Time: 8/5/2011PAGE: 14

  • 8/14/2019 Intrtest_brownbag.doc

    15/20

    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 thevalue of WS-CURSOR-LINE changes.

    ******************************************************************************************COMMAND ===>Program= MTGI124 Option # 10 Stmt # Margin= 01

    Search= WS-CURSOR-LINEOPTS 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 optsPFKS 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

    V09423 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: 8/5/2011 Time: 8/5/2011PAGE: 15

  • 8/14/2019 Intrtest_brownbag.doc

    16/20

    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 6PF7 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 _ BMSHandles, 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 6PF7 8 9 10 11 12

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

    __________________________________________________________________________________Date: 8/5/2011 Time: 8/5/2011PAGE: 16

  • 8/14/2019 Intrtest_brownbag.doc

    17/20

    INTERTEST IN A NUTSHELL_____________________________________________________________________________________

    FILE DISPLAY AND MODIFY

    INTERTEST allows you to read and update VSAM file records on-line while you are debugginga program. This feature is especially helpful if you cannot find a record which meetsyour 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 SourceListing Display screen by entering FILE on the command line. In either case, thefollowing 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, 1997Computer Associates International, Inc.

    ALL RIGHTS RESERVED

    -------------------------------------------------------------------------------1 Help 2 Format C 3 End 4 BEGB 5 6 DataType DL7 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. CNYXF0089002]

    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 VIEWINGRETNRCID=D5E8E7C6F0F0F8F9F0F0F2F1F0 CHGLEN=

    RCID= C'NYXF008900210'DATA= SIZE= 0352

    FORMAT= D 00112233 44556677 8899AABB CCDDEEFF *0123456789ABCDEF*LOC 0000 ........ ........ ........ ........ ................0000 40D5E8E7 C6F0F0F8 F9F0F0F2 F1F0E3E3 NYXF008900210TT DSORG=VSKS0010 C3D7D1C6 C1400970 108C0154 612CD4E3 CPJFA ....../.MT RECFM=VB0020 C7C2F9F2 F7400980 218C0082 922C0352 GB927 .....bk... LRECL=05EA0030 F1F1F9F0 F0F0F8F9 F0F0F440 40E2C1D3 11900089004 SAL BLKSIZE=00000040 C1D9E840 E2C1E5C9 D5C7E240 D7D3C1D5 ARY SAVINGS PLAN KEYPOS=00010050 40D5E8D5 C5E740C3 D6D9D7D6 D9C1E3C9 NYNEX CORPORATI KEYLEN=0D0060 D6D54040 40404040 40404040 40404040 ON STRNO=040070 40404040 40404040 40E2C1D3 C1D9E840 SALARY0080 E2C1E5C9 D5C7E240 D7D3C1D5 40E4D5C9 SAVINGS PLAN UNI READ0090 E3C9E9C5 C4404040 40404040 40404040 TIZED ADD00A0 40097010 1C097092 5CF1F0C2 E2C44040 ......k*10BSD UPDATE

    00B0 40404040 4040F0F0 F9F9C4F2 F560F1F4 0099D25-14 BROWSE00C0 F4F8F2F0 F840F0F0 F0F0F2F0 F0F1C440 48208 00002001D DELETE

    -------------------------------------------------------------------------------1 Help 2 Format C 3 End 4 ENDB 5 PREV 6 DataType DL7 Page bwd 8 Page fwd 9 Caps Off 10 Top 11 Bottom 12******************************************************************************************

    __________________________________________________________________________________Date: 8/5/2011 Time: 8/5/2011PAGE: 17

  • 8/14/2019 Intrtest_brownbag.doc

    18/20

    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 andenter the changes below:

    ******************************************************************************************DATATYPE= FC FILEID= MTGKACT MODE= LOG=OFF TODEST= PASSWORD=FUNC=PUT SUBFUNC= RETMETH= ARGTYP= SRCHTYP=MESSAGE=CAIN0603 WORK AREA OBTAINEDRETNRCID=D3E2D3C6F0F0F8F9F0F0F2F1F0 CHGLEN=

    RCID= C'LSLF008900210'DATA= SIZE= 05EA

    FORMAT= D 00112233 44556677 8899AABB CCDDEEFF *0123456789ABCDEF*LOC 0000 ........ ........ ........ ........ ................0000 40D3E2D3 C6F0F0F8 F9F0F0F2 F1F0E3E3 LSLF008900210TT DSORG=VSKS0010 C3D7D1C6 C1400970 108C0154 612CD4E3 CPJFA ....../.MT RECFM=VB0020 C7C2F9F2 F7400980 218C0082 922C0352 GB927 .....bk... LRECL=05EA0030 F1F1F9F0 F0F0F8F9 F0F0F440 40E2C1D3 11900089004 SAL BLKSIZE=00000040 C1D9E840 E2C1E5C9 D5C7E240 D7D3C1D5 ARY SAVINGS PLAN KEYPOS=00010050 40D5E8D5 C5E740C3 D6D9D7D6 D9C1E3C9 NYNEX CORPORATI KEYLEN=0D0060 D6D54040 40404040 40404040 40404040 ON STRNO=040070 40404040 40404040 40E2C1D3 C1D9E840 SALARY0080 E2C1E5C9 D5C7E240 D7D3C1D5 40E4D5C9 SAVINGS PLAN UNI READ0090 E3C9E9C5 C4404040 40404040 40404040 TIZED ADD00A0 40097010 1C097092 5CF1F0C2 E2C44040 ......k*10BSD UPDATE

    00B0 40404040 4040F0F0 F9F9C4F2 F560F1F4 0099D25-14 BROWSE00C0 F4F8F2F0 F840F0F0 F0F0F2F0 F0F1C440 48208 00002001D DELETE

    -------------------------------------------------------------------------------1 Help 2 Format C 3 End 4 BEGB 5 6 DataType DL7 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: 8/5/2011 Time: 8/5/2011PAGE: 18

  • 8/14/2019 Intrtest_brownbag.doc

    19/20

    INTERTEST IN A NUTSHELL_____________________________________________________________________________________

    Occasionally, you may need to perform a file fix to get around a problem such asunpacked data on a packed field. With INTERTEST, you can update a record while you aredebugging a problem.

    From the Source Listing Breakpoint, enter FILE on the command line. Enter the name of thefile 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, 1997Computer Associates International, Inc.

    ALL RIGHTS RESERVED

    -------------------------------------------------------------------------------1 Help 2 Format C 3 End 4 BEGB 5 6 DataType DL7 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 UPDATERETNRCID=D3E2D3C6F0F0F8F9F0F0F2F1F0 CHGLEN=

    RCID= C'LSLF008900210'DATA= SIZE= 05EA

    FORMAT= D 00112233 44556677 8899AABB CCDDEEFF *0123456789ABCDEF*LOC 0000 ........ ........ ........ ........ ................0000 40D3E2D3 C6F0F0F8 F9F0F0F2 F1F0E3E3 LSLF008900210TT DSORG=VSKS0010 C3D7D1C6 C1400970 108C0154 612CD4E3 CPJFA ....../.MT RECFM=VB0020 C7C2F9F2 F7400980 218C0082 922C0352 GB927 .....bk... LRECL=05EA0030 F1F1F9F0 F0F0F8F9 F0F0F440 40E2C1D3 11900089004 SAL BLKSIZE=00000040 C1D9E840 E2C1E5C9 D5C7E240 D7D3C1D5 ARY SAVINGS PLAN KEYPOS=00010050 40D5E8D5 C5E740C3 D6D9D7D6 D9C1E3C9 LES LEE INCORPO KEYLEN=0D0060 D6D54040 40404040 40404040 40404040 RATED STRNO=040070 40404040 40404040 40E2C1D3 C1D9E840 SALARY0080 E2C1E5C9 D5C7E240 D7D3C1D5 40E4D5C9 SAVINGS PLAN UNI READ0090 E3C9E9C5 C4404040 40404040 40404040 TIZED ADD00A0 40097010 1C097092 5CF1F0C2 E2C44040 ......k*10BSD UPDATE00B0 40404040 4040F0F0 F9F9C4F2 F560F1F4 0099D25-14 BROWSE00C0 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: 8/5/2011 Time: 8/5/2011PAGE: 19

  • 8/14/2019 Intrtest_brownbag.doc

    20/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 arestill 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 .ANYSymbolic file is PROTSY3UBP offset= +024F0 at=#8505

    from=QRFI to=QRFISLB 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: 8/5/2011 Time: 8/5/2011