IBM WAVV 2004 User Manual

Ibm computer accessories user manual

Advertisement

Quick Links

IBM IT Education Services
VSE Connectors
Workshop
Setup of VSAM Redirector
WAVV 2004
© 2004 IBM
Corporation

Advertisement

Table of Contents
loading

Summary of Contents for IBM WAVV 2004

  • Page 1 IBM IT Education Services VSE Connectors Workshop Setup of VSAM Redirector WAVV 2004 © 2004 IBM Corporation...
  • Page 2 VSE Connectors Workshop Setup of VSAM Redirector WAVV 2004 Connectors Wilhelm Mild, Ingo Franzki VSEESA@de.ibm.com © Copyright IBM Corporation 2004...
  • Page 3 VSE/ESA 2.6/2.7 VSAM Redirector The VSAM Redirector is a new VSE/ESA connector, introduced with VSE/ESA 2.6. The VSAM Redirector allows you to redirect all requests to a certain VSAM file into any other file system or database on any other (Java-enabled) platform. VSE/ESA is the client, while the server part runs on any other Java-enabled platform like Windows.
  • Page 4 Redirect VSAM requests to a HTML page on Windows - Overview Initial state: You have a VSAM file that contains data (FLIGHT.ORDERING.ORDERS) You have applications that work with that VSAM file (i.e. batch applications, CICS Application, tools like Ditto ) Goal: Redirect all VSAM INSERT requests to a HTML page on Windows...
  • Page 5: Chapter1: Steps For Installation Of Vsam Redirector Server On Windows

    Chapter1: Steps for installation of VSAM Redirector server on Windows STEP1.1: Navigate to VSE Redirector Server home page Open the VSE Homepage with a web browser: http://www-1.ibm.com/servers/eserver/zseries/os/vse/ Click on "Service and Support" on the left side and then on "e-business connectors and utilities".
  • Page 6 Connectors): VSAM Redirector Server -> Details and Download in section: Installation you will find a link were you can download the Java Developer Kit from IBM. http://www.ibm.com/developerworks/java/ or you can download a SUN Version from http://www.sun.com Install the downloaded JDK 1.3.x. or later and reboot the workstation.
  • Page 7 Steps for installation on a workstation STEP1.4: Download VSE Redirector server Code With Java installed, navigate on VSAM Redirector Server -> Details and Download Download latest Code via HTML and click on: redir270-pq74694.zip (VSE 2.6 and 2.7). The file name may vary since it contains an APAR number.
  • Page 8 Steps for installation on a STEP1.5: Install VSE Redirector Server To install the VSAM Redirector server, open a Windows command line and change current directory to the one where install.class resides. Type: java install or start the install program install.bat This will guide you trough the installation process of the VSAM Redirector Server.
  • Page 9 Verify installation of VSAM Redirector Server STEP1.6: Verify Redirector server Documentation To verify that the VSAM Redirector Server is installed properly, open the HTML Documentation (For Windows: START -> Programs -> VSAM Redirector -> Online Help The Help HTML page will be opened. STEP1.7: Start VSE Redirector server To start the VSAM Redirector Server, execute:...
  • Page 10 IDCAMS RECMAP utility. We work with the VSAM Cluster FLIGHT.ORDERING.ORDERS The ORDERS_MAP is already defined. In the used HTML handler <redir>com\ibm\vse\htmlhandler\HtmlHandler.java the mapping is hard coded. The Record Layout of the ORDERS Cluster is defined as follows: Offset Length Type...
  • Page 11: Chapter2: Vse Settings To Redirect A Vsam Cluster

    CLUSTER=‘FLIGHT.ORDERING.ORDERS.TEAMxx', EXIT='IESREDIR', OWNER=VSAM, IP='<ip-addr>', HANDLER='com.ibm.vse.htmlhandler.HtmlHandler', OPTIONS=‘’ The most important parameter is OWNER: OWNER=VSAM means the READ requests will be done from the VSAM cluster and the INSERTS will be done to VSAM and to the remote site specified in IP.
  • Page 12 VSE Settings to redirect a VSAM In your skeleton SKRDCFG consider: – let the job load IESRDCFG into the SVA (Step 2) – let the job copy IESVEX01 to IKQVEX01 in PRD2.CONFIG (Step 3) – let the job load IKQVEX01 into the SVA (Step 4) –...
  • Page 13: Chapter3: Redirect A Vsam File

    Exit Ditto on VSE and stop the Redirector server on Windows using command quit. The handler on Windows should be changed to be able to use string fields only. The handler is stored in <redir>\com\ibm\vse\htmlhandler as HtmlHandler.java Edit the file and make following changes: Change the HTML header tag to create an HTML page that will refresh itself all 5 seconds.
  • Page 14 Major Steps to install VSAM Redirector Server on a Java Platform install Java Runtime Environment (JRE) or Java Developer Kit (JDK) free download from SUN or IBM version 1.3.x or later http://www.ibm.com/developerworks/java/ download VSAM Redirector Server http://www-1.ibm.com/servers/eserver/zseries/os/vse/ install VSAM Redirector Server...
  • Page 15: Chapter4: Redirect Vsam Requests To A Db2 Database On Windows

    Chapter4: Redirect VSAM requests to a DB2 database on Windows DB2 UDB Initial state: You have a VSAM file that contains data (i.e. FFSTORES.DEMO.CLUSTER) You have applications that work with that VSAM file (i.e. FFST CICS Application) Goal: Redirect all VSAM requests to DB2 UDB on Windows Access the data with existing applications (without changing them) NOTE: The VSAM Redirector Server does NOT require the VSE Connector Client on Windows...
  • Page 16 Redirect a VSAM file to DB2 Mapping of FFSTORES.DEMO.CLUSTER: Field name Length STOREID STORENAME LOCSTREET LOCCITY LOCZIP LOCCOUNTRY LOCREP STOREN1 STOREN2 LDATE WEBPIC1 WEBPIC2 ACODE To verify the mapping, use the VSE Navigator to display the VSAM data. Right click on the map, choose Filter"...
  • Page 17 Redirect a VSAM file to DB2 STEP4.3: Create the tables in the database To continue with the next steps –you must have installed a database management system (i.e. DB2). –you must have a JDBC Driver for it (i.e. db2java.zip in <db2>\java\). –you must be able to connect to the database (userid/password) Make sure the JDBC driver is in the CLASSPATH.
  • Page 18 IESRDENT CATALOG='VSESP.USER.CATALOG', CLUSTER='FFSTORES.REPRO.CLUSTER', EXIT='IESREDIR', OWNER=REDIRECTOR, IP='<ip-addr>', HANDLER='com.ibm.vse.db2handler.DB2Handler', OPTIONS='dburl=jdbc:db2:<db>;dbuser=<userid> maptable=FFSTORES_MAP;map=FFSTORES; dbpassword=<password>;dbtable=FFSTORES' –let the job load IESRDCFG into the SVA (Step 2) –let the job copy IESVEX01 to IKQVEX01 in PRD2.CONFIG (Step 3) –let the job load IKQVEX01 into the SVA (Step 4)
  • Page 19 Redirect a VSAM file to DB2 STEP4.6: Copy FFSTORES.DEMO.CLUSTER into FFSTORES.REPRO.CLUSTER: Use the IDCAMS REPRO function to copy the contents of FFSTORES.DEMO.CLUSTER into the redirected FFSTORES.REPRO.CLUSTER: * $$ JOB JNM=REPRO,CLASS=A,DISP=L // JOB REPRO COPY FILE // DLBL COPYIN,'FFSTORES.DEMO.CLUSTER',,VSAM,CAT=VSESPUC // DLBL COPYOUT,'FFSTORES.REPRO.CLUSTER',,VSAM,CAT=VSESPUC // EXEC IDCAMS,SIZE=AUTO REPRO INFILE (COPYIN) - OUTFILE (COPYOUT) -...
  • Page 20 FFSTORES.DEMO.CLUSTER IESRDENT CATALOG='VSESP.USER.CATALOG', CLUSTER='FFSTORES.DEMO.CLUSTER', EXIT='IESREDIR', OWNER=REDIRECTOR, IP='<ip-addr>', HANDLER='com.ibm.vse.db2handler.DB2Handler', OPTIONS='dburl=jdbc:db2:<db>;dbuser=<userid>; maptable=FFSTORES_MAP;map=FFSTORES; dbpassword=<password>;dbtable=FFSTORES' –let the job load IESRDCFG into the SVA (Step 2) –let the job copy IESVEX01 to IKQVEX01 in PRD2.CONFIG (Step 3) –let the job load IKQVEX01 into the SVA (Step 4) –do NOT let the job load IESRDANC into the SVA, because it has already...
  • Page 21: Additional Information

    Additional Information VSE/ESA Home Page http://www.ibm.com/servers/eserver/zseries/os/vse/ e-business Connectors User's Guide SC33-6719 http://www-1.ibm.com/servers/eserver/zseries/os/vse/pdf/ieswue21.pdf e-business connectors tools http://www.ibm.com/servers/eserver/zseries/os/vse/ebus/home.html e-business Connectivity for VSE/ESA e-business Solutions for VSE/ESA Servlet and JSP Programming Linux Web Hosting with WebSphere, DB2, and Domino VSEESA@de.ibm.com SG24-5950 SG24-5662 SG24-5755...

This manual is also suitable for:

2004

Table of Contents