Featured Enhancements to the IDE & Debugger zTPFGI Update 2011 Featured Enhancements to the IDE & Debugger
Optional spelling of “OK” in dialog boxes Proposed Agenda Optional spelling of “OK” in dialog boxes “OK” “Ok” O.K. Okay O’Keigh Change people’s lives
Debugger Enhancements Focus On Debugger Enhancements DF Insight Asynchronous Trace Installation Process Changes IDE Enhancements File Compare Visual Log zTTFS Enhancement
Debugger Enhancements
DF Insight Feature in zTPFGI that allows users to view and change DB LRECS in Core Copy while stepping through a debugging session Access SW00SR, DF data while tracing at source code or macro/instruction levels
DF Insight Check real-time changes to DF data, SW00SR as you trace View/Edit user work area (DBSPA) used to build the LREC Edit LRECs while debugging Edit using characters or hex, simply by typing over the existing values
Asynchronous Trace
The Problem: Tracing ECBs that Originate from “Outside” “Normal” situation in zTPFGI User opens terminal emulator User sets trace options User enters input into terminal ECB is captured and displayed User steps through trace But what about tracing ECBs created due to external messages coming into the z/TPF system? Web Services, TCP/IP, Host-To- Host, MQ Series, EDIFACT, XML Time-initiated ECBs
The Solution: ASYNC Using zTPFGI, user registers for specific ASYNC functionality with certain criteria zTPFGI monitors incoming message traffic zTPFGI intercepts incoming messages that meet the specified criteria Once an incoming message is intercepted, control is transferred to the registered user Users can then step through and debug, just as they can with any other ECB
Asynchronous Trace Implementation The Administrator… Knows the kinds of situations developers need to intercept and trace Defines rules for intercepting those situations Defines which program to monitor Data to compare can be present in Data Level DECB Heap ECB E.g. Rule=L7 74C(4) 015 = C’$AIRLINE’ AND = R9 3AB = X’$LNIATA’ Names those rules & puts them in CONFIG file zVM CONFIG File Rules for Situation 1 Rules for Situation 2 Etc
Asynchronous Trace Implementation The Developer… Selects a set of rules from a menu and supplies parameter values (E.G. “LNIATA”) Is rewarded with an Asynchronous Trace Trace Resource window that looks like a normal “terminal” Waits for the Asynchronous Trace Resource rules to intercept an ECB from “outside” Sets trace options Traces as normal
Asynchronous Trace Benefits Easy to customize via configuration files Flexible rules: Criteria can capture messages by program, terminal address and combinations of ECB fields Easy for developers: ADMINS set up the rules; developers just select from a menu and provide parameters (e.g. the LNIATA value) Programs need not change: Developer need not change E-Type programs to trace external messages
New updates in Asynchronous Trace Support ASYNC trace intercept at C/C++ program entry point Intercept conditions checked at the CSO entry point Specify IP address for intercept condition The IP address compared against the socket descriptor attached with ECB Specify memory range for condition Helps to identify a string in the given block of data (e.g.: search for a name in input XML data) Specify a DECB in condition: Configuration can be setup to compare data in DECB, just like a data level User Interface Improvements Expanded menu that can be filtered
Intercept Point (defined in Config. Files) Summary Asynchronous Trace intercepts ECBs from external resources when A specified program is entered Additional specified conditions are met Conditions can narrow for a specific test case A selectively loaded program for the session will be entered by the intercepted ECB The user... Controls the intercepted ECB Controls child ECBs of the intercepted ECB Can apply trace options Can trace at the source level if the program is locked for source view trace External Resource Intercept Point (defined in Config. Files) zVM zTPF / VPARS Config. Files Async. Trace Resource
Installation Process Changes
CP User Exit Changes zTPFGI zTPFGI Host Host Software Software CCUEXT zTPFGI Host Software Some zTPFGI host software is CCUEXT related The Problem Most companies implement User Exit changes only a few times a year Implementing User Exit changes can take 6 months to 1 year zTPFGI can have multiple changes to zTPFGI host software between CCUEXT roll- outs Needed a design to get these changes loaded faster zTPFGI Host Software
The Solution CP User Exit Changes zTPFGI Host Software CCUEXT Related SO The Solution Use Stub to invoke SO with TPF Software User exit code Reduces the amount of our mods in the CCUEXT Faster implementation of changes Easy and less disruptive
IDE Enhancements
File Compare Compare a file to: Drag & Drop files to compare Previous versions derived from automated backups Itself as it was initially opened Any open file Any other text file from any available library or repository Drag & Drop files to compare Or browse to select files to compare
File Compare Opens in the zTPFGI Editor area Easily identify: Added lines Deleted lines Changed lines Easily navigate through differences Easily integrate changes from these sources into the current file
Visual Log Capture a variety of trace and audit trail information that can be viewed in any modern web-browser, including Terminal Inputs / Outputs (Added Japanese language support) ECB Activity Screenshots of a variety of available zTPFGI windows, including editors, terminals, trace resources and ECB windows
Visual Log View the log in any modern web-browser, e.g. Terminal Input ECB Activity Terminal Output Screenshot Distribute the log as a zip file
zTTFS Enhancement
High Level Overview External System Configuration tables from repository copied to client and server Transaction initiated Check Intercept table for condition If condition is satisfied send the request to Server Server processes the request Response is sent to client & transaction completes Response to user Client 1 Server zVM Repository 24
Now backwards compatible to 4.1 systems zTTFS Updates Now backwards compatible to 4.1 systems
45 Minutes of Fonts and Colors O’Keigh Buttons Uppercase vs. Lowercase Roman Numerals Exploring the Issues The Art and Science of Splash Screens