What are some good COBOL interactive tutorials

Creation and porting of several tutorials with the topic ...

Diploma thesis in computer science

CreationandPortingseveralTutorialsWiththetheme

WebSphere Developer for zSeries for the student

Internship company

Supervised by

Prof. Dr.-Ing. Wilhelm G. Spruth

Presented by

Matthias Beyerle

Matriculation number: 2087377

at the

Eberhard Karls University of Tübingen

Wilhelm Schickard Institute for Computer Science

Chair of Computer Engineering

Tübingen, August 30, 2007


i

Summary

The aim of the thesis was Tutorials about how WebSphere Developer for

Processing zSeries (WDz) for the student internship and on the zSeries

To make mainframe computers of the University of Leipzig available. Sizeandlocation for the present work

were Tutorialsat an IBM event in Hamburg by Mrs. Isabel Arnold in the summer

2006 were presented. The topics of the exercises are an introduction to the functionality

from WDz an installation manual for the required local work environment, local and remote

Compilation of COBOL programs With WDz, an introduction to Grandlay from web

Services, tests of web services andCreation of a web service using a With

the CICS transaction server version 3.1 sample application available.

The programs you need and Data is available on a pre-installed workstation. These

Workstation is based on Windows XP and is installed as a virtual machine on a host.

All necessary files, programs andTutorials are available on two DVDs that can be found in the

Appendix to this thesis and made available to students at the start of their internship

become.


iii

Explanation

HereWith I declare that I have written the present work on my own and none other than that

specified sources and AuxiliaryWithtel.

____________________

Place and date

____________________

signature


v

thanksgiving

At this point I would like to thank everyone who helped me Creation of this thesis

have supported.

First of all, I want my parents and thank my grandparents for helping me during my

were at your side throughout your studies and without which I would not have finished my studies

can. Further thanks to my friendsandin Ana Pimentel for her patience and Your understanding.

Special thanks go to my supervisor, Professor Dr. Wilhelm G. Spruth, who gave me this work

made possible and supported me in a variety of ways throughout the implementation.


Table of Contents

Introduction 5

1.1 Motivation ................................................ .................................................. ................................ 5

1.2 Structure of the thesis .............................................. .................................................. ...................... 5

Hardware: zSeries 7

2.1 Features of the zSeries .............................................. .................................................. .......... 7

2.1.1 Downward compatibility .............................................. .................................................. ........ 7

2.1.2 Virtualization .............................................. .................................................. ....................8th

2.1.3 Failure safety .............................................. .................................................. .................8th

2.1.4 Scalability, Parallel Sysplex and Coupling Facility ................................................ .....8th

2.1.5 Workload manager .............................................. .................................................. ..............8th

Software: Eclipse and WebSphere Developer for zSeries 9

3.1 Eclipse ................................................ .................................................. ...................................... 9

3.2 WebSphere Developer for zSeries ............................................. .............................................. 10

3.2.1 z / OS Application Development .......................................... .............................................. 11

3.2.2 XML Services for the Enterprise .......................................... ........................................... 12

3.2.3 BMS Map Support ............................................ .................................................. ............. 13

3.2.4 DB2 Stored Procedures - COBOL / PL / I ...................................... .................................. 13

3.2.5 EGL COBOL Generation ............................................ .................................................. ... 14

Tutorials 15

4.1 WDz Tutorial 01 - Commissioning of WDz Version 6.0.1.2 ...................................... .......... 15

4.2 WDz Tutorial 02 - Local Cobol ........................................... .................................................. .19

4.3 WDz Tutorial 03 - Remote Cobol ........................................... ................................................ 23

4.4 WDz Turorial 04 - Local Web Service .......................................... .......................................... 27

4.5 WDz Tutorial 05 - Web Service Explorer .......................................... ..................................... 33

4.6 WDz Tutorial 06 - Web Service Enablement for CICS ........................................ ................... 37

Summary and Outlook 45

Bibliography 47

Appendix 49

A - Contents of the enclosed DVDs ............................................ .................................................. ..... 49

B - List of Abbreviations ............................................... .................................................. ........... 50

1


2 Table of Contents


List of figures

Figure 3.1.1: Eclipse as development environment .......................................... ............................... 9

Figure 3.1.2: Eclipse as a run-time environment ....................................... ...................................... 9

Figure 3.2.1: Plugin overview of the WebSphere Developer for zSeries package ............................ 10

Figure 3.2.2: Detailed view of the WDz plug-in ......................................... ..................................... 11

Figure 3.2.3: Overview of external access options to CICS applications .................... 13

Figure 3.2.4: Low network traffic when using stored procedures .......................... 14

Figure 4.1.1: First program start of WDz ......................................... .................................... 16

Figure 4.1.2: Creating a new connection ......................................... .................................. 17

Figure 4.1.3: Connection establishment With WDz ................................................. ................................ 17

Figure 4.2.1: Navigation in the editor Withusing the outline view .............................................. .... 19

Figure 4.2.2: Use of the local history functionality ........................................ .................. 20

Figure 4.2.3: Using the Remote Error List ........................................ .................................. 21

Figure 4.2.4: Using Code Assist ......................................... ........................................ 21

Figure 4.2.5: Start screen of the Debug Perspective ......................................... ......................... 22

Figure 4.3.1: Execution of a JCL script the Server via subWith....................................23

Figure 4.3.2: If a JOBID is assigned, the server has the JCL script for processing

accepted................................................. .................................................. .................................... 23

Figure 4.3.3: Defining the properties of a partitioned data set ..................................... 24

Figure 4.3.4: z / OS File System Mapping ....................................... ............................................. 25

Figure 4.3.5: Mapping of the REGI * files as COBOL files ................................... ................. 25

Figure 4.3.6: Created MVS project "PotCob" With Resources ................................................ 26

Figure 4.3.7: Output after successful program execution ......................................... .......... 26

Figure 4.4.1: Communication scheme of web services [Wik2] ...................................... ........ 27

Figure 4.4.2: Project view With generated XSDs ................................................ ..................... 28

Figure 4.4.3: Activation of the z / OS Modernization Developer role ..................................... ..... 29

Figure 4.4.4: Created WSDL document without content in graph view ................................ 30

Figure 4.4.5: addFand-Surgery With Port................................................. .................................. 30

Figure 4.4.6: Composed message With the structure of the XSD files used ......................... 31

Figure 4.4.7: Generated error routine for the addFand-Operation ............................................. 31

Figure 4.4.8: Binding Wizard ........................................... .................................................. ......... 31

Figure 4.4.9: Finished WSDL document in graph view ........................................ ............... 32

Figure 4.5.1: Graph view of the WSDL file inquireSingle.wsdl ..................................... ...... 33

Figure 4.5.2: Adjusting the web service endpoint ........................................ ........................... 34

Figure 4.5.3: Web Services Explorer in use ........................................ ................................. 34

Figure 4.5.4: Configuration of the TCP / IP monitor ....................................... ............................... 35

Figure 4.5.5: Representation of the web service request in the TCP / IP monitor ................................... .36

3


4 List of Figures

Figure 4.6.1: Display of the Catman filter ........................................ ........................................... 37

Figure 4.6.2: Newly created z / OS file system mapping ** SDFHSAMP .................................. .37

Figure 4.6.3: Start of the WDz wizard for generating the web service definitions ............... 38

Figure 4.6.4: PIPELINE configuration ........................................... ............................................ 39

Figure 4.6.5: Definition of the TCP / IP service called SOAPPORT .................................... ....... 40

Figure 4.6.6: Definition of the end point for the web service ...................................... ............. 41

Figure 4.6.7: Request With Response of the created web service ............................................. ..... 42

Figure 4.6.8: View of the SOAP message source code ...................................... ............ 43


Chapter 1

introduction

1.1 Motivation

Every semester there is a lecture on Client / Server Systems at the University of Tübingen

accompanying internship in the Sizeandwere in different areas in the client / server sector

Form of practical work verWithbe telt.

In addition to exercises on CORBA and Java Remote Method Invocation (RMI) is a focus of this

Internship introducing the Grandfrom mainframe systems and their operating system

z / OS and the Customer Information transaction server based on these components

Control System (CICS) andthe Database Management System DB2.

Mainframes (these terms are used interchangeably in the following)

In everyday life, more and more web applications of various types are used

taken.

In order to illustrate this trend in the internship, the task of this diploma thesis was to do several

Tutorials to create that is targeted With deal with these issues and in this

A basic understanding of how to use WebSphere Developer for zSeries

give. Sizeandlocation for this Tutorials was a two-week seminar held in Hamburg by

Isabel Arnold from IBM on application development and Host upgrading to

zSeries computers.

The exercises resulting from the work that come together With the pre-installed

The working environment as DVDs are attached for the first time in the 2007/2008 winter semester

Be part of the client / server internship at the University of Tübingen and are expected

also taken from similar events at other universities that are currently taking place

Tutorials as they are used in Tübingen.

1.2 Structure of the thesis

The written elaboration of the diploma thesis is deliberately kept short, as the actual work,

the six created Tutorials, attached in electronic form on a DVD and the

Integrating the full-length exercises would go beyond the scope of the thesis.

5


6 Chapter 1 - Introduction

In the further course of the elaboration, a brief introduction to the used is given in chapter two

Hardware of the server given, a zSeries computer from the University of Leipzig the also others

Existing exercises of the client / server internship are running. There is more in chapter three

an overview of the software used, WebSphere Developer for zSeries (WDz) and the

Development environment Eclipse, on which WDz is based as a plugin. Subsequently, in

Chapter four developed as part of the thesis Tutorials presented, together With

a description of the topics covered in it. There is one in chapter five below

Summary and an outlook on possible further study or diploma theses based on

the working environment used. The written elaboration is carried out by

an appendix andthe Bibliography completed.


Chapter 2

Hardware: zSeries

The zSeries (meanwhile also referred to as System z) is the current generation

Mainframes from the International Business Machines Corporation (IBM).

The company IBM can look back on an extremely successful and trend-setting history

Mainframe. With the System / 360 brought IBM the first computer on the market in 1964, the up to

then separate orientations of computers into scientific ones and commercially used

Systems brought to a common denominator.

This general orientation was made possible by the introduction of microcode, which supports the up to

then replaced hard-wired programs and the computer for the most diverse

Applications opened. Many of the first programs written in assembler, Fortran, Cobol and PL / 1

are still in use today.

The downward compatibility of the current versus the older models is another

Milestone in the history of IBM mainframes. Around With the rapid development of

To keep up with the computer industry, new versions of mainframe computers were regularly added to the

Brought to market, each of which was compatible with its predecessor, at the same time through more and

faster processors, more memory and new automatisms for error detection and

remediation were adapted to the new work environment.

2.1 Properties of the zSeries

In the following, some of the outstanding features of the zSeries are to be highlighted,

without going into much detail, however, as this would go beyond the scope of this work.

2.1.1 Backward Compatibility

The current models of the zSeries are compatible with all older mainframe generations.

Therefore, it is possible to use code that is decades old without changes on new mainframes

to execute. Even recompiling the programs is not necessary.

However, since it is not productive to maintain backward compatibility at the microcode level,

Machine commands that are seldom used in the zSeries and that only the Maintaining the compatibility of the

Binary codes are used, reproduced by the so-called Licensed Internal Code (LIC) [Her04a].

This software component verWithtelt between hardware and Software, only it can do the hardware

speak directly. LIC makes all necessary interfaces available to applications. Thereby

new programs can benefit from new, optimized instruction sets and older programs

7


8 Chapter 2 - Hardware: zSeries

remain operational.

2.1.2 Virtualization

Virtualization is a method by which computer resources are divided up

can. Transferred to the zSeries this means that several operating systems can be used at the same time

can be run side by side without affecting each other. Sizeandadditionally

the zSeries offers two different approaches for this: First, the system can work in this way

called Logical Partitions (LPARs), on the other hand With z / VM a

Operating system ready, which offers further virtualization mechanisms [Her06].

2.1.3 Resilience

The zSeries applies toand its architecture as extremely fail-safe. IBM calls for individual computers

99.999% availability. This is especially true for mission-critical applications of

This is important because every minute of downtime can cost up to $ 10,000 [CI99].

2.1.4 Scalability, Parallel Sysplex and Coupling facility

Hardware requirements can change quickly during operation. ThereWith it too

there is no long waiting time for inquiries or failures due to overload, the

zSeries react flexibly to changed requirements. Not all processors are one yet

zSeries activated, further processors can be added dynamically to handle peak loads

balance. Entire mainframes can also be connected in parallel as a cluster

Be called sysplex. Outwardly, these clusters act like a single computer. The

The so-called Coupling Facility (CF) takes care of the coordination between the individual computers.

a hardware component that is either part of one of the in Verband is located on the computer, or

runs on a separate mainframe. Since the administrative overhead for the cluster is on the CF

is limited, the performance of a cluster increases almost linearly With enteranda knot.

2.1.5 Workload Manager

The workload manager (WLM) is part of the z / OS operating system and enables dynamic

Distribution of resources between individual so-called service classes. Here

can have different priorities and Objectives are defined. The WLM takes care of it

automatically to optimize the load distribution and calculates the distribution continuously

new, inthe he collects data about past events and evaluates. To do it as possible

To achieve optimal results, different approaches are used [Her04b].

Among other things, research is carried out on a WLM in the IBM laboratory in Böblingen, the a neural one

Network accessande lies.


Chapter 3

Software: Eclipse and WebSphere Developer for

zSeries

WebSphere Developer for zSeries (WDz) is an integrated development environment (integrated

developement enviroment, IDE) for mainframe applications. WDz relies on open source

Platform Eclipse, whose Java IDE of the same name, according to [Cas04], is used by over 50% of the Java

Programmer is used.

3.1 Eclipse

Eclipse is an open source platform for the development of software [Ecl]. Is particularly well known

Eclipse for its development environment for the Java programming language, but there is also

a variety of plugins for other programming languages, including C, C ++, Perl, PHP, Ruby

and Python.

Eclipse is based on the IDE Visual Age for Java 4.0, which was developed by IBM. In November

In 2001 the source code for the program was released and sincethe continuously as an open

Source project expanded. The IBM-led Eclipse consortium With over 80 members,

In addition to IBM, Borland, MERANT, QNX Software Systems, Rational Software,

Red Hat, SuSE, TogetherSoft and Representing Webgain, legally founded the in January 2004

independent Eclipse Foandation sincethe is responsible for the development of Eclipse

[Wik1].

Eclipse is based on a principle at the everything can be integrated as a plugin:


Expandable

Development environment


Platform

"Everything is a plug-in"

Plug-ins

Plug-ins

IDE

Figure 3.1.1: Eclipse as

Development environment

9

Run-time

Figure 3.1.2: Eclipse as

Run-time environment


10 Chapter 3 - Software: Eclipse and WebSphere Developer for zSeries

The Eclipse Open Source Community sees itself as a community that provides a free,

expandable development environment and a framework for the runtime and

Application development provides, which the development, support and maintenance

of a software project over its entire lifespan. The community has over 60

various open source projects ready, which are divided into seven categories on [Ecl2]:








Enterprise development

Embedded and Device development

Rich Client Platform

Rich Internet Applications

Application Framework

Application Lifecycle Management (ALM)

Service Oriented Architecture (SOA)

3.2 WebSphere Developer for zSeries

WDz is optimized for collaboration With IBM WebSphere software and zSeries and contains

Features that traditional programming for mainframe applications, web development

and Accelerates development for integrated, mixed workloads. In addition to tools that the

faster development of dynamic web applications, Java and Serving J2EE is thereWith

for the first time the possibility of using the same tools for traditional COBOL and PL / I programming

to be used at the mainframe level. Application programming in the

Enterprise Generation Language (EGL) programming language and the Creation of web services

benefit from these innovations [IBM1, IBM2].

WebSphere Developer

for zSeries

Rational Application

Developer

Rational Web

Developer

Eclipse

Figure 3.2.1: Plug-in overview of the WebSphere Developer for zSeries

Package

WebSphere Developer for zSeries is the successor to WebSphere Studio Enterprise Developer

and builds on the Eclipse IDE as a plugin. In the The plugin includes the two IBM Rational


3.2 WebSphere Developer for zSeries 11

Products Rational Application Developer and Rational Web Developer, the capabilities for the

fast and easy development of Java / J2EE, portal, web, web service and SOA

Deploy applications. The Rational software also includes tools for integration,

realization and for testing developed applications. For more information on

Rational Application Developer is recommended [RAD06].

The WebSphere Developer for zSeries plug-in as the framework for the overall module is for

z / OS application development, XML Services, Basic Mapping Support (BMS) Map Editor,

COBOL and PL / I DB2 Stored Procedures and responsible for the EGL COBOL functionality.

IBM WebSphere Developer

for zSeries

z / OS application development

XML Services for the Enterprise

BMS Map Editor

DB2 Stored Proc - COBOL / PL / I

EGL COBOL generation

IBM Rational Application

Developer

Figure 3.2.2: Detailed view of the

WDz plugins

The categories listed above are examined in more detail below.

3.2.1 z / OS application development

With WDz it is possible to log into az / OS system andWith the on the z / OS system

lying data to work as if they were files on the workstation. It is so

called z / OS file system mapping enables the on the workstation in addition to

individual datasets, special members of these datasets can also be mapped. This allows

it, With Working with datasets that contain members of different types. The data is from

handled by the workstation according to its mapping criteria. From the workstation you can also

new datasets and Member created and to be edited.

The editor used when editing the files has full ISPF (Interactive System

Productivity Facility) functionality and is based on a large number of additional modules the was standing

current development environments. A content assist for COBOL should be emphasized here


12 Chapter 3 - Software: Eclipse and WebSphere Developer for zSeries

and PL / I, which automatically integrates all resources to which a

Developer has access. Other functions are local and remote syntax check as well as the in

Eclipse Integrated Tools Compare With ... and Replace with local history.

Another part of WDz is interaction Withthe Job Entry System (JES), at the Jobs at the

Mainframe overWithtelt, monitored and the results of which can be viewed. The one with it

Job control language files (JCL files) used for compile, link-edit and can run

automatically off the generated existing source code and to the corresponding z / OS system

Execution.

In general, all typical editing, compiling and and Debug functions locally and on the remote

z / OS system available from the workstation. Most functions can also be used offline

Mode can be used. The prerequisite here is corresponding projects and Data

to make available offline, for which a routine is available in WDz. To make changes locally and

To be able to test offline is for the test environment of the workstation a CICS transaction server in

Integrated WDz, which translates CICS instructions locally and thereby enables testing. Here

however, IBM advises that only locally tested z / OS applications are not

to be included in production without further testing on a mainframe.

3.2.2 XML Services for the Enterprise

This section describes the service-oriented architecture (SOA) access to CICS V3.1

and IMS V9 COBOL applications, COBOL to XML mapping, COBOL XML converter and

WSDL Creation treated.

Next the CICS applications can access CICS applications through WebSphere through the

Simple Object Access Protocol (SOAP) access the CICS transaction server V2. The

Message exchange of the messages encoded in XML used here can be done via

HTTP or WebSphere MQ. By using SOAP, CICS-based

Applications as web services are made available to the clients without anyone in between

lying application server can access. Further information regarding SOAP for CICS

Functionality is listed on [SA03].


3.2 WebSphere Developer for zSeries 13

Figure 3.2.3: Overview of external access options to CICS applications

Similarly, IBM's Information Management System (IMS) can be implemented in an SOA environment

to get integrated. For an implementation via the IMS SOAP Gateway, please refer to [IBM3].

XML Enablement for the Enterprise enables COBOL-based applications from XML

Messages to generate COBOL data, and the other way round from COBOL data XML messages

to create. The converters used here use the high-performance XML

Parsing capabilities of the IBM Enterprise COBOL Compiler [IBM4].

WDz offers several options to consist ofthe Code to generate web services and these

Withthe test integrated Web Services Explorer. Further information on web services and

their generation Withtels WDz can be found in Chapter 4 from 4.4 Local Web Service and the

corresponding Tutorials.

3.2.3 BMS Map Support

Another part of WebSphere Developer for zSeries is the Creationand Editing of the IBM

Basic Mapping Supports (BMS). The editor used for this enables the BMS to be edited

Maps using a drag & drop method. Shown and the BMS Maps can be edited

in a Design View, at the parts can be inserted directly into a displayed BMS map,

or classic as a source view With Source code editing. There is the possibility of new map

Create sets or import existing ones. All work can be done locally or remotely

executed, finished maps are exported.

3.2.4 DB2 Stored Procedures - COBOL / PL / I

With WDz, COBOL and PL / I stored procedures created and tested under z / OS and in the

Debugged on the workstation if necessary. For the automated generation of the SQL

Definitions and the COBOL and A wizard is available as part of PL / I Stored Procedure Programs

WDz available.


14 Chapter 3 - Software: Eclipse and WebSphere Developer for zSeries

Client

EXEC SQL SELECT. . .

DB2 for OS / 390

Perform SQL processing

EXEC SQL SELECT. . .

Perform SQL processing

EXEC SQL SELECT. . .

Perform SQL processing

OS / 390 system

Client

EXEC SQL

CALL PROCX

DB2

Schedule

PROCX

Perform SQL

DB2 stored

procedures region

EXEC SQL

DECLARE Ct. . .

EXEC SQL

OPEN Ct. . .

Perform SQL

EXEC DQL

UPDATE. . .

Return values

and result set

to client

EXEC SQL

INSERT. . .

PROCX and

Figure 3.2.4: Low network traffic when using stored procedures

One of the benefits of using stored procedures is illustrated in the figure above: an

Place many individual inquiries and Responses will run a single request based on the

the The stored procedure on the server calls. The request is processed until it is generated

of a result on the server side, this result is communicated to the client

again in a single message. For more information on z / OS Stored

Procedures is recommended [DB2SP06].

3.2.5 EGL COBOL Generation

The Enterprise Generation Language (EGL) is a programming language developed by IBM for

fourth generation. Compared With Third generation programming languages, including those below

Other Java and Belong to C ++, the software-technical aspects take a back seatand. The

Developer focuses solely on business logic and programmed this, EGL

generates the required Java and/ or COBOL files. According to the platform, on

which the program is to be executed, the required runtime artifacts are automatically generated

customized. For further information on EGL, [EGL] is recommended.

In the course of the internship accompanying the lecture Client / Server, for which the following

Tutorials were created, there are two created as part of a master's thesis Tutorials of

Mr. Stefan Erras, who Withthetheme WebSphere Developer for zSeries and Deal with EGL,

to which reference is made at this point.


Chapter 4

Tutorials

The following is an overview of those created as part of the thesis Tutorials

given. You provide a course in the use of the WebSphere Developer for zSeries (WDz)

represent and provide information on the subject areas covered.

As a representation of the Tutorials would be too extensive in their entire length, the

respective topics introduced andWith illustrated by some pictures from the exercises. The

complete Tutorials are in the appendix on DVD.

4.1 WDz Tutorial 01 - Commissioning of WDz Version 6.0.1.2

This tutorial explains how to install the runtime environment preinstalled on two DVDs

described and established a first connection to the zSeries mainframe in Leipzig. The tutorial

is like the rest With a multitude of screenshots to show the individual work steps

illustrate and to ensure the traceability of the work.

The runtime environment in which WebSphere Developer for zSeries is started is one on Windows

XP based workstation running on a host, for example a private PC, as a virtual

Guest system is running. VMware [VMware] serves as the virtualization software. This software

enables a uniform working environment in the form of a preinstalled WindowsXP

Operating system With a preconfigured Eclipse With WDz plugin for all interns of the

Provide client / server internship. To be able to play the virtual machine

the software Vmware Player is required, which is available as a free download for various

Platforms is available and is attached as a Windows version on a DVD. A

The advantage of this process is, in addition to the uniform working environment, the possibility of using

To be able to set up a new virtual machine at any time without interfering with the operating system

of the host to do. The guest system is completely isolated from the host and the

Communication with one another takes place exclusively via a configured

Network connection.

The exercise is divided into seven chapters: in addition to the installation guide for the Vmware Player

there are explanations for adapting the virtual machine, the WindowsXP guest system,

and Notes on network configuration that are not discussed in detail at this point

should. This is followed by the commissioning of WDz, the connection to the zSeries computer

Padme in Leipzig and further preparatory measures for the successful completion of the

15


16 Chapter 4 - Tutorials

remaining Tutorials.

Since WDz is pre-installed on the virtual machine, the program only needs to be started

become. It is recommended to define your own workspace instead of the given workspace,

preferably as described in the tutorial. The workspace defines where project data is located

and associated metadata are stored. However, there are no changes at this point

Impact on the rest of the course of the exercises, the workspace only defines the location in ours

virtual machine on which the work created under WDz is stored. WDz will be the first

Once executed, the program opens With a Welcome View:

Figure 4.1.1: First program start of WDz

WDz is fully operational from this point on and does not require any further configuration.

The next step is the connection to the z / OS computer Padme in Leipzig With the IP address

139.18.4.35 produced. To create the connection, the New Connection wizard is started by

WDz called, whereby the standard information can be adopted.


4.1 WDz Tutorial 01 - Commissioning of WDz Version 6.0.1.2 17

Figure 4.1.2: Creating a new connection

In order to successfully establish a connection, one must be issued in advance by the internship manager

User identification With Password required.

Figure 4.1.3: Connection establishment With WDz

Here are some notes on the structure of the Remote Systems view and a guide to

proper disconnection. This is important because otherwise you continue on as a user

the zSeries computer is logged in and an automatic disconnection must take place, which takes some time

takes and during this time no logging in again With same user ID

is possible.


18 Chapter 4 - Tutorials

In the next step there are instructions for copying data from DVD to the virtual one

Machine. The copied data, which is now locally on the Guest systems are available in

later exercises needed.

The tutorial closes With the procedure for terminating the guest system, which is like a

regular Windows XP operating system is shut down.


4.2 WDz Tutorial 02 - Local Cobol 19

4.2 WDz Tutorial 02 - Local Cobol

The focus is on the use of WDz using the example of a COBOL program that is locally based on the

Guest system edited and is performed.

The first of the ten chapters of the exercise gives an overview of some general aspects of WDz.

In part two, an example program is loaded locally, which is part of the

preconfigured working environment. The program is a COBOL application and will turn into a

Integrated project, which has to be created from scratch. Next in this chapter are compilingand

Link options configured for the imported COBOL program.

Part three deals Withthe editor and its interaction With further in the work surface

built-in views like the Properties view or the Outline view, which are the ones in the editor

present the information presented according to their tasks. In the outline view, the

Structure of the COBOL program shown. By selecting individual points in the outline view

you can navigate in the source code that is displayed in the editor. The reverse is also true for

Navigation in the editor automatically displays the corresponding sections in the Outline view.

Figure 4.2.1: Navigation in the editor Withby means of the outline view

Additional editor functions such as the search function are explained and Setting options

demonstrated to the properties of the editor on the behavior of the editor of the interactive system

Adapt the Productivity Facility (ISPF), the Standard editor for mainframes. Tab spacing,

Editor-specific prefix commands, max- and Minimizing the editor window, editing and

Saving the changes are also topics of this section.

Section four deals With using an option from Eclipse, the Local History, part

the pre-installed configuration. At eachthe A copy of the

Stored in the local history. This allows it to everthe Point in time, current

conditions With Compare previous ones and Undo changes if necessary, or

replace current versions with older ones.


20 Chapter 4 - Tutorials

Figure 4.2.2: Using the local history functionality

In section five, the source code of the COBOL program is checked for errors and the

Interaction between editor and the Remote Error List view. An im

previous chapter deliberately built-in errors are recognized here and fixed that

corrected program saved and checked again.

The following picture is the navigation Withshown in the Remote Error List: a double click

on the displayed error in the Remote Error List, the cursor automatically moves to the line in the

Editor in which the error in the source code was recognized.


4.2 WDz Tutorial 02 - Local Cobol 21

Figure 4.2.3: Using the Remote Error List

In the next chapter, changes are made to the COBOL source code, whereby

Editor functions of previous chapters are deepened. In addition, the working Withthe so

called Code Assist was introduced. Code Assist shows all COBOL keywords that are part of the

Position at which Code Assist is called are possible. Variables are also included

those in the source text or verband