IBM Systems Magazine, Mainframe - January/February 2017 - SE48


PARTNER PERSPECTIVE
SPONSORED AVER TISING CONTENT

IMPORTANT TOOLS
Java is a viable alternative for system programmer batch utilities

ANDREW ROWLEY
Owner

As a systems programmer, from time to time you probably write small utility programs
to make your job easier. You might write them in REXX or even Assembler. But have
you considered Java*?
Java has become well accepted as an application programming language on z/OS*.
IBM's Java Batch Launcher and Toolkit (JZOS) also makes it simple to run Java in batch
and provides classes to access various system services. This makes Java a real alternative
for system programmer batch utilities.
Java has some major advantages over REXX and Assembler. Built-in libraries like
Java Collections simplify programming problems. Portable code means that samples
published on the internet for other platforms can be easily adapted to z/OS. Free
and open-source libraries provide solutions for common problems. As a result, many
problems are more easily solved in Java than other languages on z/OS.

Black Hill Software

Andrew Rowley has been
working with z/OS and its
predecessors since 1991 and
started Black Hill Software
in 2006.

Black Hill Software
211 Dana St.
Ballarat VIC 3350, Australia
Andrew Rowley
+61-3-5331-8201
info@blackhillsoftware.com
blackhillsoftware.com

Java Collections
The Collections Framework is possibly the most important tool in the Java toolbox.
Two of the most useful collections are the ArrayList and the HashMap. The ArrayList is
an array that resizes as required. The HashMap is a collection of items accessed by key.
HashMap simplifies all sorts of tasks. For example, when comparing two lists of items
with the same keys (e.g., catalog entries), you can store one list in a HashMap and then
compare items from the other list, with no dependency on the order of items. You can
also use a HashMap to accumulate statistics by key, which makes calculating group
totals simple-again with no requirement that the data be in order.
Other more specialized collections implement sets, queues and stacks as well as
other types of lists and maps.
Sample Code and Open Source Libraries
Whatever your problem, chances are that someone else has been there before-but
not necessarily on z/OS. The ability to use samples published for other platforms is a
great time saver. For example, sending email from z/OS through Gmail, with TLS and
user authentication took about 30 minutes to implement using samples posted on
the internet.
There are also free and open-source libraries providing more comprehensive solutions
to various common problems. Apache Commons and Google Guava are well-known
examples. Why not give Java a try, and see what problems it can solve for you?
For more information, Java on z/OS examples and a Java API for SMF data visit:
blackhillsoftware.com/java

48 // 2017 ibmsystemsmag.com/buyersguide

pg 8-C4.indd 41

12/1/16 9:46 AM


http://www.blackhillsoftware.com https://twitter.com/blackhillsoft http://www.blackhillsoftware.com/java http://www.ibmsystemsmag.com/buyersguide

Table of Contents for the Digital Edition of IBM Systems Magazine, Mainframe - January/February 2017

Table of Contents
Editor's Desk: Loads of Options
Techbits:
Infographic: Your Route to Digital Innovation
Partner PoV: Ignite Innovation: Optimize Linux on z Systems with adaptation, analytics and collaboration
Currents: Great Gains: Hybrid cloud adopters gain competitve advantages
Focus on Storage: Storage in a Flash: Improve performance and efficiency with hybrid and all-flash storage
Cover Story: Mainframe Options: IBM z Systems supports modern languages, tools, optimization and processes
Feature: Unleash Business Applications: IBM Application Discovery unlocks new value and accelerates the adoption of hybrid cloud solutions
Tech Trends: What Keeps IT Leaders Up at Night? Cloud computing is cited as top priority
Tech Corner: Healthy Status: z/OS Health Checker features productivity and ease-of-use enhancements
Solutions: BoxScore II, H&W Computer Systems; CleverView for TCP/IP V9.1, AES; ISPW Deploy, Compuware
Stop Run: Data Points to Love: IBMer combines marketing, technology expertise to help others navigate online dating
Reference Point - Global Events, Education, Resources for Mainframe
2017 Mainframe Solutions Edition
IBM Systems Magazine, Mainframe - January/February 2017 - Intro
IBM Systems Magazine, Mainframe - January/February 2017 - Cover1
IBM Systems Magazine, Mainframe - January/February 2017 - Cover2
IBM Systems Magazine, Mainframe - January/February 2017 - 1
IBM Systems Magazine, Mainframe - January/February 2017 - Table of Contents
IBM Systems Magazine, Mainframe - January/February 2017 - 3
IBM Systems Magazine, Mainframe - January/February 2017 - 4
IBM Systems Magazine, Mainframe - January/February 2017 - 5
IBM Systems Magazine, Mainframe - January/February 2017 - Editor's Desk: Loads of Options
IBM Systems Magazine, Mainframe - January/February 2017 - 7
IBM Systems Magazine, Mainframe - January/February 2017 - Techbits:
IBM Systems Magazine, Mainframe - January/February 2017 - Infographic: Your Route to Digital Innovation
IBM Systems Magazine, Mainframe - January/February 2017 - Partner PoV: Ignite Innovation: Optimize Linux on z Systems with adaptation, analytics and collaboration
IBM Systems Magazine, Mainframe - January/February 2017 - 11
IBM Systems Magazine, Mainframe - January/February 2017 - Currents: Great Gains: Hybrid cloud adopters gain competitve advantages
IBM Systems Magazine, Mainframe - January/February 2017 - 13
IBM Systems Magazine, Mainframe - January/February 2017 - 14
IBM Systems Magazine, Mainframe - January/February 2017 - Focus on Storage: Storage in a Flash: Improve performance and efficiency with hybrid and all-flash storage
IBM Systems Magazine, Mainframe - January/February 2017 - 16
IBM Systems Magazine, Mainframe - January/February 2017 - 17
IBM Systems Magazine, Mainframe - January/February 2017 - Cover Story: Mainframe Options: IBM z Systems supports modern languages, tools, optimization and processes
IBM Systems Magazine, Mainframe - January/February 2017 - 19
IBM Systems Magazine, Mainframe - January/February 2017 - 20
IBM Systems Magazine, Mainframe - January/February 2017 - 21
IBM Systems Magazine, Mainframe - January/February 2017 - 22
IBM Systems Magazine, Mainframe - January/February 2017 - Feature: Unleash Business Applications: IBM Application Discovery unlocks new value and accelerates the adoption of hybrid cloud solutions
IBM Systems Magazine, Mainframe - January/February 2017 - 24
IBM Systems Magazine, Mainframe - January/February 2017 - 25
IBM Systems Magazine, Mainframe - January/February 2017 - 26
IBM Systems Magazine, Mainframe - January/February 2017 - 27
IBM Systems Magazine, Mainframe - January/February 2017 - Tech Trends: What Keeps IT Leaders Up at Night? Cloud computing is cited as top priority
IBM Systems Magazine, Mainframe - January/February 2017 - 29
IBM Systems Magazine, Mainframe - January/February 2017 - 30
IBM Systems Magazine, Mainframe - January/February 2017 - 31
IBM Systems Magazine, Mainframe - January/February 2017 - Tech Corner: Healthy Status: z/OS Health Checker features productivity and ease-of-use enhancements
IBM Systems Magazine, Mainframe - January/February 2017 - 33
IBM Systems Magazine, Mainframe - January/February 2017 - 34
IBM Systems Magazine, Mainframe - January/February 2017 - 35
IBM Systems Magazine, Mainframe - January/February 2017 - 36
IBM Systems Magazine, Mainframe - January/February 2017 - 37
IBM Systems Magazine, Mainframe - January/February 2017 - Solutions: BoxScore II, H&W Computer Systems; CleverView for TCP/IP V9.1, AES; ISPW Deploy, Compuware
IBM Systems Magazine, Mainframe - January/February 2017 - 39
IBM Systems Magazine, Mainframe - January/February 2017 - Stop Run: Data Points to Love: IBMer combines marketing, technology expertise to help others navigate online dating
IBM Systems Magazine, Mainframe - January/February 2017 - Cover3
IBM Systems Magazine, Mainframe - January/February 2017 - Cover4
IBM Systems Magazine, Mainframe - January/February 2017 - Reference Point - Global Events, Education, Resources for Mainframe
IBM Systems Magazine, Mainframe - January/February 2017 - SE
IBM Systems Magazine, Mainframe - January/February 2017 - 2017 Mainframe Solutions Edition
IBM Systems Magazine, Mainframe - January/February 2017 - SE2
IBM Systems Magazine, Mainframe - January/February 2017 - SE3
IBM Systems Magazine, Mainframe - January/February 2017 - SE4
IBM Systems Magazine, Mainframe - January/February 2017 - SE5
IBM Systems Magazine, Mainframe - January/February 2017 - SE6
IBM Systems Magazine, Mainframe - January/February 2017 - SE7
IBM Systems Magazine, Mainframe - January/February 2017 - SE8
IBM Systems Magazine, Mainframe - January/February 2017 - SE9
IBM Systems Magazine, Mainframe - January/February 2017 - SE10
IBM Systems Magazine, Mainframe - January/February 2017 - SE11
IBM Systems Magazine, Mainframe - January/February 2017 - SE12
IBM Systems Magazine, Mainframe - January/February 2017 - SE13
IBM Systems Magazine, Mainframe - January/February 2017 - SE14
IBM Systems Magazine, Mainframe - January/February 2017 - SE15
IBM Systems Magazine, Mainframe - January/February 2017 - SE16
IBM Systems Magazine, Mainframe - January/February 2017 - SE17
IBM Systems Magazine, Mainframe - January/February 2017 - SE18
IBM Systems Magazine, Mainframe - January/February 2017 - SE19
IBM Systems Magazine, Mainframe - January/February 2017 - SE20
IBM Systems Magazine, Mainframe - January/February 2017 - SE21
IBM Systems Magazine, Mainframe - January/February 2017 - SE22
IBM Systems Magazine, Mainframe - January/February 2017 - SE23
IBM Systems Magazine, Mainframe - January/February 2017 - SE24
IBM Systems Magazine, Mainframe - January/February 2017 - SE25
IBM Systems Magazine, Mainframe - January/February 2017 - SE26
IBM Systems Magazine, Mainframe - January/February 2017 - SE27
IBM Systems Magazine, Mainframe - January/February 2017 - SE28
IBM Systems Magazine, Mainframe - January/February 2017 - SE29
IBM Systems Magazine, Mainframe - January/February 2017 - SE30
IBM Systems Magazine, Mainframe - January/February 2017 - SE31
IBM Systems Magazine, Mainframe - January/February 2017 - SE32
IBM Systems Magazine, Mainframe - January/February 2017 - SE33
IBM Systems Magazine, Mainframe - January/February 2017 - SE34
IBM Systems Magazine, Mainframe - January/February 2017 - SE35
IBM Systems Magazine, Mainframe - January/February 2017 - SE36
IBM Systems Magazine, Mainframe - January/February 2017 - SE37
IBM Systems Magazine, Mainframe - January/February 2017 - SE38
IBM Systems Magazine, Mainframe - January/February 2017 - SE39
IBM Systems Magazine, Mainframe - January/February 2017 - SE40
IBM Systems Magazine, Mainframe - January/February 2017 - SE41
IBM Systems Magazine, Mainframe - January/February 2017 - SE42
IBM Systems Magazine, Mainframe - January/February 2017 - SE43
IBM Systems Magazine, Mainframe - January/February 2017 - SE44
IBM Systems Magazine, Mainframe - January/February 2017 - SE45
IBM Systems Magazine, Mainframe - January/February 2017 - SE46
IBM Systems Magazine, Mainframe - January/February 2017 - SE47
IBM Systems Magazine, Mainframe - January/February 2017 - SE48
IBM Systems Magazine, Mainframe - January/February 2017 - SE49
IBM Systems Magazine, Mainframe - January/February 2017 - SE50
IBM Systems Magazine, Mainframe - January/February 2017 - SE51
IBM Systems Magazine, Mainframe - January/February 2017 - SE52
IBM Systems Magazine, Mainframe - January/February 2017 - SE53
IBM Systems Magazine, Mainframe - January/February 2017 - SE54
IBM Systems Magazine, Mainframe - January/February 2017 - SE55
IBM Systems Magazine, Mainframe - January/February 2017 - SE56
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20191112
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20190910
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20190708
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20190506
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20190304
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/relevantz_20190102
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/2019mfse
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20190102
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20181112
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20180910
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20180708
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20180506
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20180304
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20180102
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/2018mfse
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20171112
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20170910
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20170910_v2
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20170708
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20170506
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20170304
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_sesupp
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20170102
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_linuxsupp
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20161112
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/MainframeSecurity
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20160910
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20160708
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20160506
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20160304
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20160102
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20151112
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20150910_se
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20150910
http://www.ibmsystemsmagmainframedigital.com/MFSkills
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20150708
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20150506_supp
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20150506
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20150304
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20150102
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20141112
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20140910_v2
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20140910
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20140708
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_gt_201405
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/BigData
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20140506
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20140304
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20140102
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20131112
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20130910_v2
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20130910
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20130708
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20130506
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20130304
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20130102
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20121112
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/buyersguide2013
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20120910
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20120708
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20120506
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20120304
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20120102
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/ibmsystems_mainframe_2012bg
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20111112
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20110910
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20110708
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20110506
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20110304
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20110102
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20101112
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20100910
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20100910_bg
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20100708
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20100506
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20100304
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20100102
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20091112
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20090910
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20090708
http://www.ibmsystemsmagmainframedigital.com/nxtbooks/ibmsystemsmag/mainframe_20090506
http://www.nxtbook.com/nxtbooks/ibmsystemsmag/mainframe_20090304
http://www.nxtbook.com/nxtbooks/mspcomm/ibmsystems_mainframe_200901
http://www.nxtbookMEDIA.com