Skip to main content

 
IBM Systems  > Mainframe servers  > Operating systems  > z/VSE  > 
  
Interoperability Operations Case studies
dbl-bullet.gif General
dbl-bullet.gif Access VSAM data from remote
dbl-bullet.gif Access to DL/I from remote
dbl-bullet.gif Java access to VSE resources
dbl-bullet.gif Multiplatform Development and VSE
dbl-bullet.gif Access remote data via VSAM Redirector
dbl-bullet.gif Access to CICS via Browser
dbl-bullet.gif Call CICS applications from remote
dbl-bullet.gif Web Services with VSE


Access VSAM data from remote systems

One of the most common data access method in VSE is VSE/VSAM (Virtual Storage Access Method). VSAM data has its own format and structure which is foreign for other systems.

An actual business need is the integration of VSAM data into distributed processes. Therefore, emphasis was placed on enabling real time access to VSAM data via modern and standard technologies and methods.


 Overview
 Benefits
 Software requirements
 How to get started
 Additional information


Overview

Accessing VSAM from a remote system via the VSE java-based connector. Access can be done in batch of via CICS. WebSphere Application Server VSE Connector Client VSAM JDBC Driver VSE Script Server TCP/IP for VSE VSE Connector Server CICS Transaction Server VSE/VSAM

For real time access to VSAM data from a remote platform the Java-based Connector was developed. It is build of  2 components:

  • The VSE Connector Server: A batch program running on VSE in a static or dynamic partition.
  • The VSE Connector Client: A Java component running on every Java enabled platform i.e. Linux, UNIX, Windows. This component is delivered with the VSE operating system or can be downloaded  for free from internet.

The real time access to the VSE/VSAM data can be implemented in three ways:

  • Including VSE-supplied Java beans in user written Java programs.
  • Using a VSE-supplied JDBC driver to access VSAM data as it were a relational database.
  • Invoking VSE Script- a script language developed as part of VSE. VSE Script allows real time access to VSAM data from non-Java programs such as office applications such as Lotus SmartSuite or Microsoft Office applications using Lotus Script or Visual Basic.

Access to the VSAM dataset can be done directly from the VSE Connector Server, or via CICS, if the VSAM dataset is already opened in CICS.

To access VSAM data from a remote site, the structure of the records must be defined. This process is called 'mapping' and can be done with the VSE Maptool, VSE Navigator or IDCAMS command RECMAP. The VSE Maptool allows to import the mapping directly from your COBOL pr PL/I copybooks. Once the mapping is defined, access to the VSAM dataset can be done using the VSAM Java Beans, or via the VSAM JDBC Driver using SQL.

Real time Access to VSE/VSAM:

  • from standalone applications (e.g. VSE Navigator)
  • from web applications (e.g. using WebSphere)
  • from Servlets, JSPs, EJBs, Applets
  • from office programs using VSE Script Server
  • optionally by using SQL

Back to top


Benefits

Having real time access to VSAM data, distributed processes can take advantage and faster decisions can be taken, based on the data:

  • Real time access - access the data when you need them a,s you need them.
  • Translation between the EBCDIC format (VSE) to ASCII format on the remote platform is done.
  • Standard, relational interface to VSAM data (JDBC) enables standard programs to integrate VSAM data in their business logic.
Back to top


Software requirements

The following software requirements must be meet in order to implement this solution:

Note: WebSphere is NOT required to run the VSE Java-based connector. However, the connector can be deployed into WebSphere as an Resource Adapter or as an JDBC Provider, if you wish to access VSAM from a web application.


Back to top


How to get started

To get started, following Steps need to be done:

  • Start VSE connector server on VSE (release STARTVCS from the reader queue or create it from ICCF library 59, skeleton SKVCSSTJ).
  • Make sure a Java runtime (JRE) or Java developer kit (JDK) 1.3 or later is installed on you distributed platform.
  • Download and install theVSE Connector Client to your PC or workstation.
  • Create the mapping information to define the VSAM record structure (using VSE Maptool ,VSE Navigator or VSE IDCAMS Command RECMAP).
  • Use the different ways  (JDBC, Java Beans, Scripts) to access your data.

Note: The VSE connector client contains descriptions and samples for accessing VSAM data.


Back to top


Additional information

Additional information for this solution scenario can be found:

Back to top

 
We're here to help

Easy ways to get the answers you need.

  E-mail us E-mail us

Stay informed
Get the latest news about z/VSE through Twitter  

Solutions
Infrastructure simplification 
Industry solutions 
IBM System z solutions 
IBM Redbooks 
VSE presentations 
VSE downloads 

Rate zEnterprise product

Your experience matters. Share what you think of IBM zEnterprise System products

Write a review today!