Suite - tpfsoftware.net

Download Report

Transcript Suite - tpfsoftware.net

zTPFGI Update
Suite
www.tpfsoftware.com
Agenda
•
•
•
•
•
•
•
•
Cadillac Load
File Compare
Linux Terminal
ECB List View
Scripting Through VM
Other Debugger Updates
Asynchronous Trace
zRTF (Regression Test Facility)
Suite
www.tpfsoftware.com
Cadillac Load: Improving the Load
Process for Users
Loading encompasses several
tasks:
 Compiling-building source
zLinux
C
CPP
01
10
ASM
into SO files on z/Linux
 Transferring SOs
from z/Linux to a zTPF system
 Loading SOs for use
on the zTPF system
 “Locking” Source for trace
zVM
zTPF / VPARS
in the debugger
The user must manually…
 Select correct zTPF system name
before loading
 Wait to lock in source
until after programs loaded to zTPF
Suite
www.tpfsoftware.com
Cadillac Load
When user clicks Load,
Cadillac Load will…
 Offer the correct system
– If connected to a system
 Make locking source
quick. User can choose:
– Lock in all source files
– Select source files to lock
– Refresh currently locked
source files
Fewer user steps saves
time
Suite
www.tpfsoftware.com
File Compare
• Users need compare


1
To see what changed during editing
To roll back or resolve conflicts in
source files
• 2 venues for compare supported:
1. Built-in compare
2. External compare tools
–
–
–
WinMerge
BeyondCompare
Other choice (configurable)
• Compare features:


See differences between files
Move differences between files




Any two files—host or PC
File with itself as originally opened
File with any automatic backup
File with its library version
• What files?
Suite
2
www.tpfsoftware.com
zLinux Terminal
• Users wanted zLinux access
directly in zTPFGI
• zLinux Terminal




Suite
Enter simple zLinux commands
Receive output
Reset zLinux passwords
Run input scripts via Message Run
facility
www.tpfsoftware.com
ECB List View
• zTPFGI shows graphical
ECBs on tabs
• Some users wanted to
see all ECBs for all
terminals at same time
• New ECB List view




Shows terminals & ECBs
Double-click to edit ECB
Exit an ECB
Exit All ECBs
Suite
www.tpfsoftware.com
Scripting Through VM
• Automate execution of multiple test
scenarios with multiple steps
• Example Scenario:




Passenger wants to book flight from
Washington to Chicago based on best fare
If flight with best fare is fully booked, find
flight with available seats
If flight with available seats is not found,
execute next command based on result of
previous command
etc.
Available
Seats
Book Flight
(create PNR)
Select
best fare
Find flights with
available seats
• Other Scenarios:



Trigger Availability entry from various “point of
sales” to measure path length
Verify 8000 PNRS after schedule change if SSRS
are intact
Verify if recoup isuccessful. Script for online chainchase
Suite
Book Flight
(create PNR)
Execute next
conditional command
www.tpfsoftware.com
Scripting Through VM
• Customers already had VM scripts
 Wanted to re-use them
 Need to repeat common zTPF
commands using VM EXECs
• ZGI Command terminal
 Provides interface for talking to VM
directly & via EXECs
 Accepts 2 command types:
– ZGICMS: Calls VM EXECs
– ZGICMD: Calls special zTPF
commands
• Message Run Input Files
 Now support ZGICMD/ZGICMS
• Other uses:
Suite




Test “robots”
Set user profiles
Run preload simulations
www.tpfsoftware.com
Do performance measurements
Other Debugger Updates
• Added terminal support for



ALC Printer
CFIN (Consumer Finance terminal)
LOC 3270 terminals
• Overlay Panels (DSECT) gallery
• Machine Trace View
• Write tape output to VM file


Preference available to log the data
to a VM file
The preference can be set using the
ZGI command
• Trace macro POST option

Stop before/after macro execution
• Reset zLinux passwords option
• zAutomation*

zTPFGI’s facility to efficiently bring up
VPARS remotely
• zTREX*


Transaction Recording & Examination
Immediately identify which
applications are using which
resources
• Audit and Usage logging*


Purpose of audit logging is for the
administrator of zTPFGI to monitor
modification in the system
Usage logging provides the usage
statistics for the product and for the
users
* Find out more in the Applications Development Subcommittee Meeting
Suite
www.tpfsoftware.com
ASYNCHRONOUS TRACE
Suite
www.tpfsoftware.com
The Problem: Tracing ECBs that
Originate from “Outside”
• “Normal” situation in zTPFGI
1.
2.
3.
4.
5.
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 that
originate from outside?



TCP/IP, Host-To-Host, MQ Series
Messages from a non-simulated
terminal
ECBs triggered automatically in
the system (Time initiated)
Suite
www.tpfsoftware.com
Solution: Asynchronous Trace
• Asynchronous Trace intercepts ECBs
from external resources when
•

External
Resource
A specified program is entered
Additional specified conditions are met

Intercept Point
(defined in
Config. Files)
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
Suite
zVM
Config.
Config.
Asynchro
Files
Files
nous
zTPF / VPARS
Trace.
Trace
Resource
www.tpfsoftware.com
Asynchronous Trace
Implementation
zVM
CONFIG
File
• Rules for Situation 1
• Rules for Situation 2
• Etc
The Administrator…
 Knows the kinds of situations developers need
to intercept and trace
 Defines rules for intercepting those situations
 Names those rules & puts them in CONFIG file
The Developer…
1. Selects a set of rules from a menu and
supplies parameter values
–
(E.G. “LNIATA”)
2. Is rewarded with an Asynchronous Trace
Trace Resource window that looks like a
normal “terminal”
3. Waits for the Asynchronous Trace Trace
Resource rules to intercept an ECB from
“outside”
4. Sets trace options
5. Traces as normal
Suite
www.tpfsoftware.com
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)
• Configurable display: ADMINS
can setup what data will be
displayed in the Asynchronous
Trace Trace Resource window when
the ECB is intercepted
Suite
www.tpfsoftware.com
zRTF Illustration
zTPF
Input
Messages
Input
Script
zTPF
zTPF
PROGRAMS
PROGRAMS
Events
Output
Log 1
DATA
DATA
Planned changes are made to system
Input script is run again, producing new output log
2
Baseline and second-run data are compared
1 =? 2
Suite
www.tpfsoftware.com
zRTF Updates
• Now integrated with zAUTOMATION
 Can use VPARS from pool during run and release back to pool once test complete
• Now integrated with ZGICMS and ZGICMD
 ZGICMS
– Invoke REXX EXEC from test unit
– EXEC can issue zTPF input, interpret zTPF output, make decisions etc.
 ZGICMD
– Set user preferences, execute zTPF inputs, reallocate terminals etc.
• zRTF compare utility enhanced
 More options and functionalities
• Test unit supports different input formats for PH1 and PH2
 Enables testing of application entries for which input format has changed
• Test unit supports list of programs to load for PHASE II run
 OLDR file
• PC Interface enhanced
 Right click an input file or RTFMSG file to initiate zRTF run
Suite
www.tpfsoftware.com
Demo
Suite
www.tpfsoftware.com