CICS-Dbg1 Testing and Debugging Programmers responsibility that program works correctly! Can write program incrementally You must test anything that the.

Slides:



Advertisements
Similar presentations
Using the Palm Pilot for Data Collection. Overview: These procedures will assist when using the Palm Pilot for: Physical Inventory Counts Bar Code Collection.
Advertisements

JQuery MessageBoard. Lets use jQuery and AJAX in combination with a database to update and retrieve information without refreshing the page. Here we will.
MICS4 Data Processing Workshop Multiple Indicator Cluster Surveys Data Processing Workshop CSPro Overview.
MICS Data Processing Workshop
Child Health Reporting System (CHRS) How to Submit VHSS Data
Service and Dispatch Updates Presented by: Derek Kratz.
Microsoft Dynamics® SL
CPU GROUP Chapter 7. Manage ment Management Report Inquiry Responses Management Inquiries.
1 R elational D ata B ase A id Copyright © 2002 Sakman Software Corp.
Module R2 CS450. Next Week R1 is due next Friday ▫Bring manuals in a binder - make sure to have a cover page with group number, module, and date. You.
Chapter 3: Editing and Debugging SAS Programs. Some useful tips of using Program Editor Add line number: In the Command Box, type num, enter. Save SAS.
With Microsoft Excel 2007 Comprehensive 1e© 2008 Pearson Prentice Hall1 PowerPoint Presentation to Accompany GO! with Microsoft ® Excel 2007 Comprehensive.
Accounts Payable–1099 Processing 1Freedom Systems – Accounts Payable – 1099 Processing WELCOME TO THE ACCOUNTS PAYABLE – 1099 PROCESSING WEBINAR WE WILL.
File Management Chapter 12. File Management File management system is considered part of the operating system Input to applications is by means of a file.
COBOL Considerations Identification Division. Environment Division
Unauthorized Reproduction Prohibited SkyPoint Alarm Integration Add-On Using OnGuard Alarms to create events in SkyPoint Also called ‘SkyPoint V0’ CR4400.
Guide to Oracle10G1 Introduction To Forms Builder Chapter 5.
Maintenance Modifying the data –Add records –Delete records –Update records Modifying the design –Add fields into tables –Remove fields from a table –Change.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
Introduction to z/OS Basics © 2006 IBM Corporation Chapter 8: Designing and developing applications for z/OS.
Chapter 11 Data Management Layer Design
Low level CASE: Source Code Management. Source Code Management  Also known as Configuration Management  Source Code Managers are tools that: –Archive.
CICS Basic Commands COBOL programming statements.
CICS BMS Maps Concepts and commands.
ASP.NET Programming with C# and SQL Server First Edition Chapter 8 Manipulating SQL Server Databases with ASP.NET.
Intro to Program Development
1 Introduction to CICS. 2 Contents Introduction History Compatibility Typical Usage Components of CICS CICS Structure – Domains CICS Management Functions.
FireRMS SQL Audit, Archiving & Purging Presented by Laura Small FireRMS Quality Assurance.
Denise Luther Senior IT Consultant Practical Technology Enablement with Enterprise Integrator.
CICS-Prg1 Terminal Handling CURSOR Positioning (in SEND MAP) IC option in DFHMDF Macro (ATTRB Parm)  If more than one – LAST position is used. DIRECT.
Ensure that the Field Day Call Sign is correct.
What is Sure BDCs? BDC stands for Batch Data Communication and is also known as Batch Input. It is a technique for mass input of data into SAP by simulating.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Purpose  This training course describes how to configure the the C/C++ compiler options.
CICS – Mainframe (LC) 2 Copyright © 2005, Infosys Technologies Ltd ER/CORP/CRS/TP01/003 Version No: 1.0 Course Schedule Day1 - Introduction to CICS Day2.
Air Quality System Precision and Accuracy Data Transaction Generator (AQSP&A) Training Session.
Developing Workflows with SharePoint Designer David Coe Application Development Consultant Microsoft Corporation.
FlexGen Trustee Review Class In this session we will review dashboard receipting, troubleshooting day end issues, pitfalls of assessment changes, adding.
Basic Mapping Support Day2 2 Copyright © 2005, Infosys Technologies Ltd ER/CORP/CRS/TP01/003 Version No: 1.0 Objectives Introduction to BMS –Screen Layout.
Copyright © 2007, Oracle. All rights reserved. Managing Concurrent Requests.
Month End/Year End Procedures VENTUS Presenter: Linda Kennedy.
PHP meets MySQL.
CICS-Int1 Introduction to On-Line BATCH – Transactions are accumulated into groups (batches) before processing. ON-LINE – Interactive Transactions entered.
VistA Imaging Capture via Scanning. October VistA Imaging Capture via Scanning The information in this documentation includes only new and updated.
Discovering Computers Fundamentals Fifth Edition Chapter 9 Database Management.
1 Command Field: Use this field to go to transactions directly by entering the transaction code. The transaction codes can be found either in the SAP Easy.
Printing on power systems Program/ Command Data Report Layout (Printer File) Job Output Queue *FILE Spooled File.
Indexed and Relative File Processing
DB2. 2 Copyright © 2005, Infosys Technologies Ltd ER/CORP/CRS/DB01/003 Version No:2.0a Session Plan Introduction to Concurrency Control Different types.
VB – Debugging Tools Appendix D. Why do we need debugging? Every program has errors, and the process of finding these errors is debugging Types of errors.
IBM MAINFRAMES CICS Training Class-01.
Access Project 3 Notes. Introduction Maintaining the Database  Modifying the data to keep it up-to-date Restructure the Database  To change the database.
Element 6 Print word processingdocuments. LEARNING OUTCOMES 1. Preview document using print preview mode. 2. Correctly select basic print options. 3.
INFO1408 Database Design Concepts Week 15: Introduction to Database Management Systems.
Week 7 : Chapter 7 Agenda SQL 710 Maintenance Plan:
Chapter 4 Constraints Oracle 10g: SQL. Oracle 10g: SQL 2 Objectives Explain the purpose of constraints in a table Distinguish among PRIMARY KEY, FOREIGN.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
Application Program Design Day3. 2 Copyright © 2005, Infosys Technologies Ltd ER/CORP/CRS/TP01/003 Version No: 1.0 Objectives Basic CICS programming –Structure.
Chapter Three The UNIX Editors.
Chapter 5 Introduction To Form Builder. Lesson A Objectives  Display Forms Builder forms in a Web browser  Use a data block form to view, insert, update,
Plant Master Maintenance F3 Exit = Press F3 to exit this screen. Commonly Use Keys: F4 Prompt = Position cursor in front of ‘?’ location and press F4 to.
Unit 17: SDLC. Systems Development Life Cycle Five Major Phases Plus Documentation throughout Plus Evaluation…
1 CA202 Spreadsheet Application Focusing on Specific Data using Filters Lecture # 5.
Random update Please use speaker notes for additional information!
Sequential Processing to Update a File Please use speaker notes for additional information!
Coupling and Cohesion Schach, S, R. Object-Oriented and Classical Software Engineering. McGraw-Hill, 2002.
Transaction processing systems
Chapter 3 The DATA DIVISION.
Programming Logic and Design Fourth Edition, Comprehensive
On transactions, and Atomic Operations
Please use speaker notes for additional information!
Presentation transcript:

CICS-Dbg1 Testing and Debugging Programmers responsibility that program works correctly! Can write program incrementally You must test anything that the user may enter on every screen High–Low ranges of data entered Invalid entries – when feasible

CICS-Dbg2 Types of Testing Unit Test Tested by itself to verify performance Correct screens displayed Field edits working correctly Files updated correctly Usually done by programmer

CICS-Dbg3 Types of Testing Concurrency Test Run concurrently on several terminals Verify multiple executions - no interference Usually need help for this testing Verify record ‘locks’ (if used) Verify ‘busy’ message (if used)

CICS-Dbg4 Types of Testing Integration Test Run with other programs Verify the program works as part of system Can also find problems with app design  Screen Formats  PF key uses and layouts  Color coding used, etc.

CICS-Dbg5 Types of Testing Regression Test Verify functions not changed still work Very time consuming Entire original test usually repeated 70+ Percent is maintenance (not NEW!) Often done hurriedly with poor results

CICS-Dbg6 Test Environment Usually separate CICS region Relaxed Security Create own table entries Create test Data Sets Access to CICS debug aids  CEMT, CECI, CEDF, CEDC Change management software

CICS-Dbg7 The Test Plan Try and test everything! Maximum and Minimum Values Required Fields Missing Fields Default Values Data Set Access and Updates ‘Clean Up’ when Finished!

CICS-Dbg8 Test Steps Test the MAPSETS CECI transaction – SEND MAP Verify items on checklist Page 201 Program, MOVE ALL ‘X’ to fields, SEND MAP Test Program with VALID data Test ‘normal’ functions and defaults Test Program with INVALID data Most time consuming making up data Test all edit rules and defaults

CICS-Dbg9 CEDA (For Table Updates) CEDA DI G(group) [ Display Group] (where nn is last two digits of your ID Find similar entries and type following: COPY AS(VIS0nn) - MapSet COPY AS(VIP0nn) - Program COPY AS(V0nn) - Transaction ID Alter – Change to new program name! COPY AS(NAMADDnn) – VSAM File Alter – Change DSN and verify Settings CEDA I G(group) [Install Group]

CICS-Dbg10 CICS Transactions for Testing CEMT – Master Terminal Transaction NEWCOPY Program / Map  Must do after each COMPILE!  CEMT I PROG(V*QQ) OPEN/CLOSE a Data Set  Needed for rebuilding a Data Set  CEMT I FI(V*QQ)  DELETE / DEFINE of VSAM Data Set

CICS-Dbg11 CEMT (Handy Transactions) Used for NEWCOPY after Compile(s) CEMT I PROG(VIP*QQ) Lists COBOL Programs CEMT I PROG(VIS*QQ) Lists Assembler (MAP) Programs CEMT I FI(*QQ) [For initializing files] Lists All Your CICS VSAM Files

CICS-Dbg12 CICS Transactions for Testing CECI – Command-level Interpreter Allows execution of Most CICS commands Can test MAP display Can store data in VARIABLES ALL CECI Variables start with ‘&’ Can modify (corrupted) Data Sets  READ UPDATE into &rec, then REWRITE!

CICS-Dbg13 CECI (For MAP Testing) CECI SEND MAP(‘VIDS0M1’) MAPSET(‘VIS0QQ’) [ERASE] MAPONLY Shows command before and after Can run most CICS Commands Can use variables! (Pages )

CICS-Dbg14 Debugging a CICS Abend ABEND = ABnormal END of Program Program encounters error CICS presents Abend Code to Program Program can handle with message Program can ignore – (CICS Abend) Over 300 Abend codes Only a few are usually handled

CICS-Dbg15 Abend Code Types Exceptional Conditions (AEI and AEY) File Not Open, Record Not Found, Etc. Program Checks (ASRA) S0C7, other program errors. Other (Misc) Abend Codes Cursor off screen, no map found, etc.

CICS-Dbg16 Execution Diagnostics Facility Same Terminal Checkout Mode ‘CEDF’ entered from clear screen Terminal Responds: EDF MODE ON Enter TRAN-ID of Program to debug Each CICS COMMAND is shown  Before execution and after execution  Status shown, NORMAL is Good! You can add ‘Extra’ CICS Commands

CICS-Dbg17 (Re)Build VSAM Data Files In CICS, Close Files - CEMT I FI(V*QQ) In TSO, RUN: VCUSTDS and VTAPEALL In CICS, Open Files – CEMT I FI(V*QQ) In CICS, Enter Customer(s), Tape(s) In CICS, Close Files (one more time) In TSO, RUN: VTAPEBX (Builds Index) In CICS, Open Files (For last time?)