IBM WAVV 2004 manual Redirect a Vsam file to DB2, Field name Type Offset Length

Page 16

Redirect a VSAM file to DB2

Mapping of FFSTORES.DEMO.CLUSTER:

Field name

Type

 

Offset

Length

 

 

 

STOREID

STRING

0

6

STORENAME

STRING

6

25

LOCSTREET

STRING

31

25

LOCCITY

STRING

56

25

LOCZIP

STRING

81

10

LOCCOUNTRY

STRING

91

25

LOCREP

STRING

116

20

STOREN1

UNSIGNED

136

4

STOREN2

UNSIGNED

140

4

LDATE

STRING

144

10

WEBPIC1

STRING

154

20

WEBPIC2

STRING

174

20

ACODE

STRING

194

10

To verify the mapping, use the VSE Navigator to display the VSAM data.

Right click on the map, choose "Display VSAM Data". On the "Display Filter" dialog box, press "OK" to display all records (no filter).

STEP4.2: Export the mapping to a XML File

The VSAM Redirector "Create DB2 Tables" tool reads the mapping from a XML file.

Right click on the map and choose "Export map to XML". Enter a filename (e.g. ffstores.xml). You will need this file in the next step.

Image 16
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 homeVerification if Java environment installed Steps for installation on a WorkstationInstall 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