30
ASG (Allen Systems Group, Inc) - SmartTest R5.0 Online Program Testing Developer Initial Setup Document 3/30/2022 Page 1 of 30 8:46 AM

Online SmartTest Setup v1.0

Embed Size (px)

DESCRIPTION

Mainframe

Citation preview

Page 1: Online SmartTest Setup v1.0

ASG (Allen Systems Group, Inc) - SmartTest R5.0

Online Program Testing

Developer Initial Setup Document

4/17/2023 Page 1 of 30 10:18 PM

Page 2: Online SmartTest Setup v1.0

The objective of this document is to assist team members with getting setup to test Online programs using ASG (Allen Systems Group, Inc) -SmartTest R5.0. The process of testingOnline programs using SmartTest is comprised of the following three main steps.

1.0 Compile your program using the Via soft compile/analyze job function.2.0 Execute Online program using SmartTest tool3.0 Utilization of basic SmartTest commands

1.0 Compile your program using the Via soft compile/analyze job function

On the ISPF Primary Option Menu type “=N.T.C” Depress <ENTER> Key

4/17/2023 Page 2 of 30 10:18 PM

Page 3: Online SmartTest Setup v1.0

Enter all pertinent information. Depress <ENTER> Key

Note: Since this same panel is used for both batch and online programs include both batch and online load library names.

4/17/2023 Page 3 of 30 10:18 PM

Page 4: Online SmartTest Setup v1.0

The screen requires you to enter the plan name (if program accesses DB2 tables). Enter DB2 plan name in the Member Name field and verify correct DB2 Bind Library name. Depress <ENTER> key. Note: The plan name can be obtained by scanning your environment bind control PDS (i.e. APPL.DEV4.BINDCNTL).

4/17/2023 Page 4 of 30 10:18 PM

Page 5: Online SmartTest Setup v1.0

It is important for you to use the Via soft compile/analyze job function when you compile. This will facilitate the appropriate update to the AKR file.

Enter “SV” on the command line to choose the Via soft compile/analyze job function. Verify that job card information is correct and Depress <ENTER> key.

4/17/2023 Page 5 of 30 10:18 PM

Page 6: Online SmartTest Setup v1.0

Include and/or verify correct AKR data set name (i.e. APPL.DEV4.AKR, APPL.IMPL.AKR, etc) Note: The AKR data set is where the version of your source will reside that enables you to see your lines of code during the SmartTest session.

After you have completed or inserted the AKR dataset name depress <ENTER> Key

4/17/2023 Page 6 of 30 10:18 PM

Page 7: Online SmartTest Setup v1.0

Depress <ENTER> Key

You have not completed the 1st step of compiling your program using the Via soft compile/analyze job function.

4/17/2023 Page 7 of 30 10:18 PM

Page 8: Online SmartTest Setup v1.0

You should now proceed to the active queue to verify the successful completion of the compilation of your program. On the command line type “=P.S.DA” depress <ENTER> Key.

4/17/2023 Page 8 of 30 10:18 PM

Page 9: Online SmartTest Setup v1.0

2.0 Execute Online program using SmartTest toolAfter verification of a successful compilation of you Online program it is now time to access the SmartTest tool to begin testing.

On the ISPF Primary Option Menu type “=P.SMRT” Depress <ENTER> Key

4/17/2023 Page 9 of 30 10:18 PM

Page 10: Online SmartTest Setup v1.0

Depress <ENTER> Key

4/17/2023 Page 10 of 30 10:18 PM

Page 11: Online SmartTest Setup v1.0

Type “ENV” on command line and depress <ENTER> Key

4/17/2023 Page 11 of 30 10:18 PM

Page 12: Online SmartTest Setup v1.0

Type in all of the Application Load Library names referenced at the bottom of this screen. Type “L” on the command line and depress <ENTER> key

4/17/2023 Page 12 of 30 10:18 PM

Page 13: Online SmartTest Setup v1.0

Enter the libraries referenced above. Note: Make sure you include the quotation characters at the beginning and end of he library names. Upon completion depress <PF3> Key.

4/17/2023 Page 13 of 30 10:18 PM

Page 14: Online SmartTest Setup v1.0

Choose option ‘2’ (CICS) and depress the <ENTER> Key*****This is the first diff. With batch and all diff starts from here*****Chilla*********

4/17/2023 Page 14 of 30 10:18 PM

Page 15: Online SmartTest Setup v1.0

Choose option “1” and depress the <ENTER> Key

4/17/2023 Page 15 of 30 10:18 PM

Page 16: Online SmartTest Setup v1.0

Some developers have encountered problems with exceeding the maximum storage while testing some of the Online programs in this environment.

Change the value of the Maximum storage field from 204800 to 20480000 and depress <ENTER> Key

4/17/2023 Page 16 of 30 10:18 PM

Page 17: Online SmartTest Setup v1.0

Choose option “C” to connect to CICS and depress <ENTER> Key

4/17/2023 Page 17 of 30 10:18 PM

Page 18: Online SmartTest Setup v1.0

Depress <ENTER> Key

4/17/2023 Page 18 of 30 10:18 PM

Page 19: Online SmartTest Setup v1.0

Type in USERID and PASSWORD and depress <ENTER> Key

Note: After depression of <ENTER> Key WAIT!!! The following SmartTest message should appear in the lower left corner of your screen

ASG2733I SmartTest-CICS is active.

4/17/2023 Page 19 of 30 10:18 PM

Page 20: Online SmartTest Setup v1.0

After the appearance of message “ASG2733I SmartTest-CICS is active” on your screen enter Transaction code in top left corner of your screen and depress <ENTER> Key.

4/17/2023 Page 20 of 30 10:18 PM

Page 21: Online SmartTest Setup v1.0

You are now ready to begin testing your program with the ASG SmartTest R5.0.

4/17/2023 Page 21 of 30 10:18 PM

Page 22: Online SmartTest Setup v1.0

Line SmartTest line commands can be utilized at this point. Type “BR” (Break Point) on a line with a COBOL action verb. See “BR” in 1st and 2nd position of line 006455.

4/17/2023 Page 22 of 30 10:18 PM

Page 23: Online SmartTest Setup v1.0

Observe break point insertion on line 006455. List of basic commands will be covered in section 3.0 Utilization of Basic SmartTest commands.

4/17/2023 Page 23 of 30 10:18 PM

Page 24: Online SmartTest Setup v1.0

Type “CAN” on the command line and depress the <ENTER> Key.

4/17/2023 Page 24 of 30 10:18 PM

Page 25: Online SmartTest Setup v1.0

A message will appear acknowledging the “TEST SESSION CANCELLED”

Depress <PF3> Key

4/17/2023 Page 25 of 30 10:18 PM

Page 26: Online SmartTest Setup v1.0

Depress <PF3> to exit from SmartTest.

4/17/2023 Page 26 of 30 10:18 PM

Page 27: Online SmartTest Setup v1.0

If you encounter this screen during your 1st attempt to exit SmartTest change the process option to the following:

OLD

Log List Punch----- ---- -------

Process Option PD PD D

NEW

Log List Punch----- ---- -------

Process Option D D D

Upon completion of changes depress <PF3> Key

4/17/2023 Page 27 of 30 10:18 PM

Page 28: Online SmartTest Setup v1.0

Depress <ENTER> Key to exit SmartTest tool

3.0 Utilization of basic SmartTest commandsNow that you are able to compile and execute your program with the SmartTest facility you will need to know some basic commands.

Command Action DescriptionBR Break Point Set break points in source codeD Delete Delete a break pointK Keep Keep displayed field contents on the screenZD Zoom Data Display field content (non-HEX format)ZH Zoom Data Hex Display field content (HEX format)ZO Zoom Off Turn off Zoom Data

You can obtain more information from the drop down menu available during your SmartTest session.

4/17/2023 Page 28 of 30 10:18 PM

Page 29: Online SmartTest Setup v1.0

Choose the VIEW item from the horizontal menu

4/17/2023 Page 29 of 30 10:18 PM

Page 30: Online SmartTest Setup v1.0

Get familiar with menu selection items

4/17/2023 Page 30 of 30 10:18 PM