IBM WAVV 2004 manual Access the Vsam file with Ditto

Page 12

VSE Settings to redirect a VSAM

cluster

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)

do NOT let the job load IESRDANC into the SVA, because it has already be done (Step 5)

let the job execute IESRDLDA to register the new configuration (Step 6)

submit SKRDCFG and check for RC=0000 (this is only to test for errors)

If the RC=0 tell the instructor and he’ll activate your definitions.

STEP2.2: Access the VSAM file with Ditto

Make sure the Redirector server is started on your Windows (STEP1.7)

Use Ditto (2) Edit or update data -> (1) Edit VSAM data

Enter the VSAM cluster name: FLIGHT.ORDERING.ORDERS.TEAMxx

Enter the catalog name: VSESP.USER.CATALOG

Monitor the Redirector server console on Windows and press <ENTER> You must see the connection messages.

On VSE:

1.You should see the preloaded records from VSAM file (if OWNER=VSAM)

2.Make sure Ditto works in CHAR mode (upper right corner)

3.Insert in the first 40 (0-39)characters of the record (first name, last name)

4.Change the mode Ditto works in HEX (upper right corner)

5.Now from position 39 you can key in the numeric fields (two times 4 byte numbers and a binary field that can be 00 or 01 – as the map describes them in STEP1.8)

6.Add as much records as you want

7.At the command line hit save or press PF3

8.The Redirector Console on Windows should show a message that the output.html page was created.

9.Open the HTML page in <redir> dierctory (output.html)

You should see your inserted records only.

Change the OWNER to REDIRECTOR and you’ll see each time you open in Ditto

the cluster, it’s empty – because it will nor read from VSAM anymore.

Image 12
Contents VSE Connectors Workshop VSE Connectors Workshop VSE/ESA 2.6/2.7 Vsam Redirector Redirect Vsam requests to a Html On Windows Overview TCP/IPSteps for installation of Vsam Redirector server on Windows Navigate to VSE Redirector Server homeSteps for installation on a Workstation Verification if Java environment installedInstall JDK if not on the system Download VSE Redirector server Code Download latest Code via HtmlInstall VSE Redirector Server Java installVerify installation Vsam Redirector Server Verify Redirector server DocumentationStart VSE Redirector server For Windows Start Programs Vsam Redirector Online HelpRedirect a Vsam requests to a Html Redirector Server HandlerVSE Settings to redirect a Vsam cluster Configuration for Redirector Client on VSE\ESAAccess the Vsam file with Ditto Redirect a Vsam file To Html Change Handler to read Vsam record as stringSummary Redirect Vsam requests To a DB2 database on Windows GoalRedirect a Vsam file to DB2 Field name Type Offset LengthCLASSPATH% Ksds FFSTORES.REPRO.CLUSTER FFSTORES.REPRO.CLUSTERFFSTORES.DEMO.CLUSTER FinishedAdditional Information