What`s New and Future Enhancements with GDT

Download Report

Transcript What`s New and Future Enhancements with GDT

What’s New and Future
Enhancements with GDT
Topics to Cover
 GDT
 Calling WEB SERVICES




M WS
See Demonstration of TPR call a Web Service to validate a
zip code entered You can’t miss this one!
GDT PDF file creator
Please let us know if you are interested in any of
these enhancements!
GDT 2007 International User Conference: Evolving the Legacy
July 29 – August 1  Lake Las Vegas, Nevada
Doug Evans
Calling Web Services
 Application Modernization!
 Solution that provides the unique approach of
blending new technologies such as Web services
with existing COBOL application core business
functions.
 Enabling an evolutionary path to application
extension and transformation.
 Dramatically reducing project risk, cost and time.
GDT 2007 International User Conference: Evolving the Legacy
July 29 – August 1  Lake Las Vegas, Nevada
Doug Evans
Calling Web Services
 Prerequisite: GDT V5.0
 On the mainframe
 Is never directly attached to the internet for security reasons
 To make a connection between the GCOS and the WWW you
always need to setup one or multiple gateways that are
connected to the WWW.
 Physically this can reside on the same machine by using
several partitions (ports).
 These gateways have IP address and associated names.
 On these gateways you configure a service for EACH webservice that you want to use. (SERVICES file)
 The communications will be handled thru unique PORTS and
associated names (need to be specified then in the SERVICES
file). By configuring the gateway(s) they know how to execute
the appropriate web-service.
GDT 2007 International User Conference: Evolving the Legacy
July 29 – August 1  Lake Las Vegas, Nevada
Doug Evans
M WS
 M WS
 We do not make use of Gateways under GDT but we
do need to provide / emulate the same functionality
for the underlying API’s to HooX. This emulation is
done through the Master Command M WS
 Master Command that can be entered at the Ready
prompt under TDS.
 Menu driven system that allows you to create and
maintain Gateways that can be accessed via your
programs.
GDT 2007 International User Conference: Evolving the Legacy
July 29 – August 1  Lake Las Vegas, Nevada
Doug Evans
M WS
GDT 2007 International User Conference: Evolving the Legacy
July 29 – August 1  Lake Las Vegas, Nevada
Doug Evans
GDT WebService Review and
Maintenance
GDT 2007 International User Conference: Evolving the Legacy
July 29 – August 1  Lake Las Vegas, Nevada
Doug Evans
GDT WebService Review and
Maintenance
F2 option (Gateway Review and Maintenance) This screen will list available
Web Services.
GDT 2007 International User Conference: Evolving the Legacy
July 29 – August 1  Lake Las Vegas, Nevada
Doug Evans
GDT WebService Review and
Maintenance
Enter M on the Web Service you want to Modify
Other options: V to view and D to delete.
GDT 2007 International User Conference: Evolving the Legacy
July 29 – August 1  Lake Las Vegas, Nevada
Doug Evans
GDT WebService Review and
Maintenance
Name or IP Addr. of the Gateway
Name or the Port used for communication to the Gateway
Where the web service can be executed
The Web Service Maintenance Form
GDT 2007 International User Conference: Evolving the Legacy
July 29 – August 1  Lake Las Vegas, Nevada
Doug Evans
CRG – CReate Gateway
GDT 2007 International User Conference: Evolving the Legacy
July 29 – August 1  Lake Las Vegas, Nevada
Doug Evans
VWG – VieW Gateway
GDT 2007 International User Conference: Evolving the Legacy
July 29 – August 1  Lake Las Vegas, Nevada
Doug Evans
M WS
 Summary
 M WS creates the Web Service Description

Key information
 The Gateway name (hostname or ip address)
 The Web Service name

Detail information
 The URL for the Web Service

A TPR will use Application Program Interface calls to access
and use the Web Service (examples..)

CALL “WS-CONNECT” - (passing the Gateway name and Web
Service name to access the internal GDT Web Service Description
File and obtain the URL necessary to connect to the Web Service.
 MOVE “ValidateZip” to method-name


CALL “WS-SET-REQUEST” using the Service name and Method
name to set the request
CALL “WS-INVOKE” to invoke the method
GDT 2007 International User Conference: Evolving the Legacy
July 29 – August 1  Lake Las Vegas, Nevada
Doug Evans
Calling Web Services
Via a TPR
THE DEMONSTRATION
GDT 2007 International User Conference: Evolving the Legacy
July 29 – August 1  Lake Las Vegas, Nevada
Doug Evans
GDT PDF file creator
 The Need
 Many businesses require special formatted reports
such as PDF
 A variety of tools to do PDF conversions may be
available but would work outside of the GDT
Environment
 Customers need to have PDF documents created
on-demand as well as real time via Batch
processing
GDT 2007 International User Conference: Evolving the Legacy
July 29 – August 1  Lake Las Vegas, Nevada
Doug Evans
How will CREATE_PDF work?
 GDT PDF can be run as a standalone .exe
 In GDT V5.0, GDTBATCH will be enhanced with a new
command CREATE_PDF abbreviated to CPDF. This
command can then be used in JCL.
 In GDT V5.0, CPDF will be made available to COBOL
programs by supplying a call interface that makes use
of the DLL entries.
 Additional functionality will include Fonts,
CharPerLine and a GUI
 CMD line entry:

GDTPDF1 PDF-TEST.lsq PDF-TEST.pdf
GDT 2007 International User Conference: Evolving the Legacy
July 29 – August 1  Lake Las Vegas, Nevada
Doug Evans
GDT PDF
GDT 2007 International User Conference: Evolving the Legacy
July 29 – August 1  Lake Las Vegas, Nevada
Doug Evans
Results
Original Text Report
GDT 2007 International User Conference: Evolving the Legacy
July 29 – August 1  Lake Las Vegas, Nevada
Doug Evans
Results
PDF of Text Report
GDT 2007 International User Conference: Evolving the Legacy
July 29 – August 1  Lake Las Vegas, Nevada
Doug Evans