KEMBAR78
Intertest Setup: To Prepare A Program For Using Intertest | PDF | System Software | Software
100% found this document useful (1 vote)
280 views13 pages

Intertest Setup: To Prepare A Program For Using Intertest

The document provides instructions for setting up and using Intertest on TFCS development regions to debug COBOL programs compiled with Intertest support. Key steps include compiling the program with the Intertest option selected, setting the program to not execute in CICS, turning Intertest on for the program, and then stepping through the code line by line while viewing variable values. Only three TFCS environments support Intertest and it should generally only be used in TESTU5 unless a production issue requires another environment.

Uploaded by

Kumar Abhishek
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
280 views13 pages

Intertest Setup: To Prepare A Program For Using Intertest

The document provides instructions for setting up and using Intertest on TFCS development regions to debug COBOL programs compiled with Intertest support. Key steps include compiling the program with the Intertest option selected, setting the program to not execute in CICS, turning Intertest on for the program, and then stepping through the code line by line while viewing variable values. Only three TFCS environments support Intertest and it should generally only be used in TESTU5 unless a production issue requires another environment.

Uploaded by

Kumar Abhishek
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 13

Intertest setup

To prepare a program for using Intertest:

Note: Changeman compiles (option 6, stage) do not include Intertest libraries. So, we need to
compile our programs differently as explained below:

Compile the program using the compile panels located at TSOD option 'U.C', option #4 for
CICS/COBOL.
Ensure that the 'Intertest' option has been selected on the first panel.
Use Either:
- The staged version of code if this is new development.  The source library would be
'CMNSTGE.FDRI.N970.#00pppp.SR2' where 'pppp' is the numeric portion of your Changeman
package ID.
- The production version of code. The source library would be
'CMNBASE.N082.FDRI.LEVEL0.SR2'.
- Code from a personal PDS

For the very first time, Compile Panel will open below highlighted panel i.e. 99 UPDATE PROFILE
(Even if we enter option 4) – to set profile.

Fill up the required details like CUBE Number, Department Name as shown below:
Again, enter Option 4 (CICS/COBOL V6.2)

NOTE: Only 3 of the 5 TFCS development environments support Intertest:

 TESTU5 (Compile Type = 'T')


 TESTS5 (Compile Type = 'S')
 TESTA5 (Compile Type = 'A')

Unless necessary, use Intertest in TESTU5 ONLY.  There are cases where a production support issue
can only be recreated in TESTA5 or TESTS5.  Coordinate with Kathy Porter and the QA lab when using
Intertest in TESTS5 or TESTA5.

Press Enter
Press Enter

Provide below Libraries details

Press Enter
Provide below Libraries details

Press Enter

Provide below CICS programs load libraries

Press Enter
Provide DBRM library

Press Enter and submit the JCL

Job output goes to held output on TSOD.

Once program is compiled by above process – Do a new copy of the program in the CICS region.
CEMT SET PROG(N082NTI1) NE
This should be done before we turn on the Intertest following below process.
To Turn on Intertest

From a clear screen in the TFCS development region you have compiled to, enter the following
command:

CNTL=ON,PROG=N082NTI1,UBP=((#1),F=.ANY)

Press Enter

If CICS was able to complete the command successfully, the following Screen will be displayed:
Viewing Program in Intertest

From a blank screen in TFCS:

Press Enter
Display which programs have Intertest Turned On.
The second line lists all programs where Intertest has been invoked
Invoking Intertest
Example: Sign on to TFCS as ‘TFCS NOT’. – for Program N082NTI1

Press Enter
The user selects Option ‘6/1410’ ('NATIONAL TRAILER INVENTORY/LOC'). 
The CICS program ‘N082SV01’ transfers control to the CICS program ‘N082NTI1’.

Press Enter
Intertest is invoked and stops at the first “executable” line of code. Do not confused if it’s not code
you recognize from the source member. When the source is DB2, the first “executable” line of code is
DB2 related as it is in the example shown below.
Stepping Thru the Code
By pressing ‘PF10’ (go to next executable line of code), Intertest stops at what the developer can see
as the actual first line of code in the source.

Pressing ‘PF4’ displays the session options

Press PF4 - Sets the Intertest session values.  The main one to note here is 'AutoKeep Display'.  Set
this to 'ON' so that Intertest will display the variable values for each line of executed code.
Press Enter

Screen start showing Variable name and their Value.


To display one of the variables in the next statement (the one highlighted in white), enter a ‘D’ in the
option and place the cursor on any part of the variable name.

Press ‘Enter’.
WORKING STORAGE for the variable is displayed.

In this example, the field ‘WS-SLCTBL-FAC-ACT-DT’ is a ‘04’ level. At this point you can press ‘PF7’
and ‘PF8’ to advance backward and forward to see all values under the corresponding ‘01’ level.
Enter ‘PF3’ to exit back to the source code. Intertest is still stopped at the same line of code as before
the display was entered.
Turning off Intertest:
From a blank screen in TFCS:

Press Enter

Commonly used line commands :

• C : Conditional Breakpoint with a criteria .

• D : Display the contents of the field where the cursor is placed.

• G : To change the next execution statement. It means Go to the


statement.

• K : Display the contents of the field where the cursor is placed and Keep the data
displayed on the top of the screen.

• M : Move value to the data field where the cursor you placed.
(But you do not need this as you can overtype the value you want if you already
displayed the field.)

• U : Unconditional Breakpoint (You will use this most often.)

• X : Remove the breakpoint or the data field displayed on the top of the screen.

You might also like