IBM WAVV 2004 manual Ffstores.Repro.Cluster

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) - NOREUSE

/*

/&

*$$ EOJ

During the copy process, the VSAM Redirector Client will get control (at open time of FFSTORES.REPRO.CLUSTER) and will connect to the VSAM Redirector Server. In case this fails, a VSAM open error message will be displayed.

To verify the data in the DB/2 table, issue the following SQL statement, or use the DB/2 Control Center:

SELECT * FROM FFSTORES

Image 19
Contents VSE Connectors Workshop VSE Connectors Workshop VSE/ESA 2.6/2.7 Vsam Redirector TCP/IP Redirect Vsam requests to a Html On Windows OverviewNavigate to VSE Redirector Server home Steps for installation of Vsam Redirector server on WindowsVerification if Java environment installed Steps for installation on a WorkstationInstall JDK if not on the system Download latest Code via Html Download VSE Redirector server CodeJava install Install VSE Redirector ServerFor Windows Start Programs Vsam Redirector Online Help Verify installation Vsam Redirector ServerVerify Redirector server Documentation Start VSE Redirector serverRedirector Server Handler Redirect a Vsam requests to a HtmlConfiguration for Redirector Client on VSE\ESA VSE Settings to redirect a Vsam clusterAccess the Vsam file with Ditto Change Handler to read Vsam record as string Redirect a Vsam file To HtmlSummary Goal Redirect Vsam requests To a DB2 database on WindowsField name Type Offset Length Redirect a Vsam file to DB2CLASSPATH% Ksds FFSTORES.REPRO.CLUSTER FFSTORES.REPRO.CLUSTERFinished FFSTORES.DEMO.CLUSTERAdditional Information