CICS VSAM Transparency for z/OS, Version 1.2


Running VIDLOAD

The first time MULTIRD is tested is when you run VIDLOAD. Because multiple output records are written for each VSAM record, you must specify the DD statement LOADOUTM in the VIDLOAD JCL.

Figure 1 shows the JCL for migrating APPLCTL.

Figure 1. VIDLOAD JCL for multiple tables
//jobcard
//*
//VIDLOAD EXEC PGM=VIDLOAD,PARM='APPLCTL',REGION=8M
//STEPLIB  DD DISP=SHR,DSN=appl.DRIVERS.LOAD
//         DD DISP=SHR,DSN=VID.SVIDLODE
//SYSPRINT DD SYSOUT=*
//LOADIN   DD DISP=SHR,DSN=your.VSAM.UNLOAD
//LOADOUTM DD DSN=your.APPLCTL.LOADDB2,
//         DISP=(,CATLG,DELETE),
//         UNIT=SYSDA,SPACE=(CYL,(150,35),RLSE),
//         RECFM=FB,LRECL=242,

The record length of the output file is 242. This is the length of the longest DB2® row plus 2 bytes. This is explained next.



Concept topic


Last updated: May 25, 2012 20:46:3