Sunteți pe pagina 1din 3

SmartTest Overview

1. General Topics a. P.SMRT from TSO menu b. Program must be compiled in Endevor to use SmartTest. When generating a program in Endevor there is a Y/N/ toggle flag that can be set to include Viasoft. c. Make sure that your TSO session uses the proper screen size for the application being tested (i.e. 24x80 for TSO, 24x80 or 27x132 for CICS and 27x132 for IMS/DC) d. CUA navigation versus non CUA navigation e. Key commands 1. AKR 2. ENV 3. SETUP 4. LIST 5. SET f. Documentation
1. E:\EPIC Remediation\Documentation\Programming\SmartTest Manuals.

2. Environment (ENV) a. Proc libraries (Are used to interpret and break out your proc) b. Load modules (For CICS the load modules must be identified in the environment screen, For Batch you must specify your load module in your batch JCL) c. AKR (You have the ability to concatenate another persons AKR library for testing a program that they may have compiled for SmartTest) d. Selecting test environment e. CICS (Any CICS program) f. MVS batch (Regular Cobol program) g. IMS Batch (Any batch program containing IMS) h. DB2 Batch (Cobol batch program with DB2 and no IMS) i. IMS/DC (Online IMS/DC program) 3. AKR a. b. c. d. Contains programs that were compiled to use SmartTest Each AKR has a limited amount of space Monitor your space be deleting old members If you store more members than allowed with your space allocation, you will need to have your AKR expanded e. You will receive an error message while compiling if your AKR is too small to hold the program you are compiling

PAGE 1

of 3

SmartTest Overview

4. Batch session setup (Setup) a. Execute load module program name b. Break on entry should be yes c. Batch JCL library d. Batch JCL member e. TSO userid should be your userid f. No changes are needed to your JCL to test a batch program in SmartTest g. Do not use any of the generate functions h. If your programs contains IMS or DB2 it must be the first IMS or DB2 program in your test JCL i. Editing JCL in Smarttest j. Submitting your test k. Connecting to your test session 5. CICS session setup a. Program you would like to test b. Break at start of session c. CICS applied will contain the CICS region that you will be testing in d. Toggle key allow you to toggle between CICS and your test session e. Specify limits on CICS resources (Allows you to change limits when current values exceed defaults) f. Request monitoring 1. Monitor by program only 2. Do not monitor by transaction 3. Do not use Global functionality (impacts all SmartTest users) g. Request break on entry (same as List tailor) 1. Allows you break every time you enter your program not just the first time h. New copy a CICS program 1. Always new copy your program in SmartTest 2. Command is NEWCOPY and program i. Wait for SmartTest message before entering your transaction, use toggle key to get back to your test session

PAGE 2

of 3

SmartTest Overview

6. Test session a. Step command 1. Step one line at a time 2. Step X Auto where X is the number of lines to execute 3. Step over 4. STEP paragraph b. Run command c. Break points (BR) d. Keep window e. Zoom data (ZD) f. Run to g. GO Command to reposition chevrons to a specific line. You need to be careful when using this command to make sure any initialize process occurs prior to going to a new line number h. Locating next statement or finding chevrons (>>>>>>>>) (L *) i. Pseudo code 1. If/Else 2. Move 3. Add 4. Go to j. Program. Program A is active test session mode k. Program. Program in upper right corner is read only mode l. Q Can All to exit from read only mode m. PA1 or ATTN to return control to programmer 7. List (Test facilities list) a. Command is List b. There are some different list commands for CICS versus Batch programs (i.e. EIB, FILE, etc.) c. Commands of interest 1. Tailor (selectively turn SmartTest features on or off for a set of modules and/or programs 2. Tracking (display the execution path taken by the program, similar to a ready trace) 8. SET (Option modes) a. Command is Set b. Works like a toggle, the command is either ON or Off c. Review various commands d. Some commands of interest 1. CUA 2. Operands

PAGE 3

of 3

S-ar putea să vă placă și