Next Gen Development on IBM z Systems with
RDz
Venkat Balabhadrapatruni
Chief Architect, Enterprise Modernization
Vance Morris
System z Technical Enablement specialist and Millennial Mainframer
Welcome to the 2015 customer Call Program
January 27, 2015
Can a similar shift be made within Enterprise ApplicationDevelopment?
Can we afford not to TRY to make such a shift? 4
Current State…
>45%of customers experienceproduction delays
>50%of outsourcedprojects fail tomeet objectives
>70%of budgets devotedto maintenanceand operations
4-6 weeksto deliver even minorapplication changes
Systems of Interaction
Continuousclient experience
Partnervalue chain
Cloud-basedServices
Systems of Engagement Systems of Record
SoRRapid app releases could impact system stability
Development/TestSpeed mismatch between faster moving front office andslower moving back office systems
Line-of-businessTakes too long to introduce or makechanges to mobile apps and services
HR
DB ERP
MF iSeries
CRM
54% of companies believe software delivery is critical but only
25% leverage it effectively today5
6
Application Development Realities in a Hybrid world:2 Speed IT
Rapid iterations
Develop Build Test Deploy
Systems of Record
Slower iterations
Develop Build Test Deploy
Slower iterations
Systems of Engagement
Production
Production
APICatalog
IBM z13: The New Possible
Mobile Analytics Cloud Security
Deliver up to 36%better response time,
up to 61% betterthroughput, and
up to 17% lowercost per mobile
transaction
Deliver insights
up to 17x faster
and with 13x betterprice performance
than closestcompetitor
Enable superiorCloud services at up
to 40% lower costthan x86 Cloud and
up to 65% lessthan Public Cloudover three years
Accelerate speed of
encryption up to 2xover the zEC12 to
help protect theprivacy of data
throughout its lifecycle
7
Why z Systems ?• 24x7 availability
• Fast response time with current data
• Data privacy and security
• Quickly scalable for unpredictable usage demands
• Ease of development
• Re-use of existing assets
• Ability to develop and service multiple channels using the same data source
8
z SystemsSuperior availabilityreliability, security,
workload management,OLTP performance ...
IBM DevOps point of viewEnterprise capability for continuous software delivery that enables organizations toseize market opportunities and reduce time to customer feedback
Acceleratesoftware delivery –for faster time to value
Reduce time to customerfeedback –for improved customer experience
ContinuousCustomer Feedback &
Optimization CollaborativeDevelopment
Continuous Release andDeployment
ContinuousMonitoring
ContinuousBusiness Planning
ContinuousTesting
OperateDevelop/
Test
Deploy
Steer
DevOpsContinuousFeedback
Clients are achieving measurable business outcomes with DevOps
Balance speed, cost, quality andrisk –for increased capacityto innovate
9
Boost Developer Productivity
What’sNew
Systems of Engagement
Systems of Record
TVID: 073-CD0-5DB 10
Achieved over 50%Improved Productivity
• Standardize on Eclipse-based IDEs for alltypes of development
• Refactor and extend back-end services anddata for optimal mobile experience
• Use unit test and code coverage forimproved quality
• Exploit fully integrated sourcelevel debugger for increased productivity
• zUnit test capability to test COBOL and PL/Iapps at a module level, including ability todrive unit tests for continuous integrationbuilds
Accelerate multiplatform development for IBMz Systems
11
submit compile job swap to SDSF select job
find error msg
find code line (remember error)
swap to edit session
exit JCLedit sourcefind code line
change code
exit source
edit JCL
A IDE brings to the table…Instead of maneuvering to access panels and working sequentially, in RDz the functionality you need is always
in-focus – you work concurrently using “built for developer” features productivity
Access Datasets+ DatasetManagement
Access Jobs
Edit a program
Dataset Statistics
File Compare
File Search
12
Traditional development and Enterprise web services
Enterprise Service Tools
Single service projects
Top down, bottom up, and meet in the middleweb service enablement for CICS, IMS, andBatch/TSO environments.
Service flow projectsGraphical composition of CICS applicationschained together to form a new businessservice.
Enable Enterprise Applications for Mobile and Web
Supports traditional development/maintenance• Cobol, PL/I, Assembler, JCL
Supports modern architecture development
13
Enhanced Application Quality & Structure Analysis
• Application Analysis• Control flow diagrams for COBOL and PLI programs,
Graphical representation of the program flow with links to the source
• Helps identify and highlight potential unreachable code
14
Integrated Debugger
A GUI-based multi-platform, multi-language debugger
Full asynchronous mode
Thread-level control of multi-threaded applications
Automonitor support
Languages and Platforms supported:
COBOL V5.1, V4, V3.4
Batch, Batch IMS, Batch DB2, CICS 5.1, 4.2, 4.1
Interactive Code coverage – Out of the box
PLI v4.x, v3.9
C/C++ V1R13, V2R1
IMS TM
DB2 Stored procedures
16
zUnit – Unit testing framework for z/OS
• Frameworks that assist developers in writing code to perform repeatable, self-checking unit tests arecollectively known as xUnit.
• xUnit defines a set of concepts that together provide a light-weight architecture for implementing unittesting frameworks.
• JUnit, for example, is a very popular instance of the xUnit architecture.
• zUnit is a xUnit instance for System z• Goal is to encourage the continuous integration and continuous testing methodology for System
z Application development and maintenance
T E S T C A S E 1 ( . . .)
A D D T E S T S 2 ( . . . )
T E S T 0 0 1 2 ( . . . )
T E S T n n n 2 ( . . . )
S E T U P 2 ( . . . )
T E A R D O W N 2 ( . . . )
. . .
Z X U T C IN I ( . . . )
Z X U T C A D D ( . . . )
Z X U A S T F M ( . . . )
Z X U A S T F A ( . . . )
U S E R . Z U N I T ( T E S T C A S E )
z U n it T e s t R u n n e r A P I
I n v o k in g t h e a s s e r t i o n A P I s in t h eS E T U P, T E A R D O W N , o r a c t i v e T E S Te n t r y w i l l f a i l t h e c u r r e n t Te s t .
1 L a n g u a g e - s p e c i f i c d e t a i l s :I n C O B O L , th i s i s th e f i r s t p r o g r a m a p p e a r in g in t h e Te s t C a s e s o u r c e f i l e a n d i t w i l lb e in v o k e d b y t h e Te s t R u n n e r f o r Te s t C a s e in i t i a l i z a t i o n .I n P L / I , t h e i s t h e p r o c e d u r e d e c la r e d w i th o p t i o n ( f e t c h a b le ) in t h e Te s t C a s e s o u r c ef i l e a n d i t w i l l b e in v o k e d b y th e Te s t R u n n e r f o r Te s t C a s e in i t i a l i z a t i o n .
2 L a n g u a g e - s p e c i f i c d e t a i l s :I n C O B O L , th e s e a r e e x p e c te d t o b e s u b p r o g r a m s ( n o n - n e s t e d a n d th e r e f o r ec o m p a t ib l e w i t h F U N C T I O N - P O I N T E R ) .I n P L / I , t h e s e a r e e x p e c t e d t o b e in t e r n a l p r o c e d u r e s th a t a r e d e c la r e d a t t h ep a c k a g e le v e l ( n o n - n e s t e d ) .
17
Application Quality – Code Coverage• Line Level Code Coverage - provides tools to measure and report on test coverage of an application
• Leverages the Integrated Debugger technology• Indicating what source code lines were tested and remain to be tested
18
Quality & Structure Analysis – Code review
• Code Review/Governance - providespredefined rules and templates for COBOLand PL/I applications•Ensure adherence to corporatestandards
•Custom rules for COBOL and PL/I
19
IBM Confidential
COBOL Software Metrics
COBOL Software MetricsKey measurements of code complexity.
Basic metrics measures line and comment counts.
A number of well known metrics exist to measure codecohesion and cyclomatic complexity.
Metrics also support threshold values for 'rule style'reporting. When these values are exceeded refactoringand simplification of code is recommended.
Master the Mainframe● Annual contest since 2004.
– I placed 3rd in 2011
– Geographically organized
– 1st World Championship in 2014
– 2014 –2015 contest 100% hosted in Dallas
● Environment and challenges
– z/OS system programming
– Application development
– Other operating systems (Linux, z/TPF, z/VM)
– 3 parts: “No Experience Necessary”
● US & Canada Contest Prizes
– T-shirt
– Swag bag
– Trip to POK + hardware22
RDz Inclusion in MtM
● When
– 2009 – 2012 : Download link
– 2013 : Cloud instances available (50 seats)
– 2014 : Return to original option
● Why
– Contest focus shifted to application development
– IBM Rational interest in showcasing and educating on modernization tooling
● How
– Download & local install option, 60 day trial
– 10 SmartCloud Enterprise instances, 5 users per instance, first come first serve.
VNC over SSH tunnel.
25
Personal Experience & Expectations
● Current trends in software engineering – deliver early and often
– Agile development methodology enables agile business
– Reduces risk
– Continuous improvement
● Necessity of modern tooling
– Automatic Build and Continuous Integration
– Large code bases spanning multiple platforms
– It's what young people are learning in school
● Hurdles to overcome adoption
– Business culture
– IT culture
– Agile technicalities
26
Summary
• Mainframes are more relevant than ever…
– Usage is growing and projected to continue
• The platform, technology, opportunities and tools are evolving as well…
– Modernize your tools and processes….
– IBM is helping clients transform their software delivery capability in order to
achieve faster innovation and deliver measurable business outcomes –
addressing culture, process and technology.
27
Useful Links
• Lunch and Learn replays:
• https://www14.software.ibm.com/webapp/iwm/web/signup.do?source=dw-c-wcsdpr&S_PKG=ov24511
• https://www14.software.ibm.com/webapp/iwm/web/signup.do?source=dw-c-wcsdpr&S_PKG=ov26050
• Screencast playlist:
• https://www.youtube.com/playlist?list=PLlhg84-xzjfwuo2-uhSzTRJ0c5L-XXliL
• RDz playlist:
• https://www.youtube.com/playlist?list=PLD77BCE432EB6EC89
• IBM Academic Initiative
• http://www-304.ibm.com/ibm/university/academic/pub/page/academic_initiative
• http://www.redbooks.ibm.com/abstracts/redp5115.html?Open
• http://systemzjobs.com
28
z Systems at InterConnect 2015
29
Talk to our experts at the Expo PedestalsDevOps on IBM z Systems
Accelerating enterprise software delivery
Attend the special z Reception
Light Nightclub – Mandalay Bay
Tuesday, 8:00 – 10:00 pm
See the new z13 Hardware in the Expo
Attend our DevOps for Enterprise Systems Topics and choose from more than 40z Systems business and technical sessions that cover the key solutions you aremost interested in.
Sign up for a Solution Suite DemoNew Spotlight sessions on Cloud, Mobility and DevOps
http://www-01.ibm.com/software/os/systemz/interconnect/
Participate in our Birds of aFeather discussions, ourhands-on labs, and dev@activities