Step 1 - Unload the VSAM file

Use the CICS® VT utility program VIDUNLOD to unload the VSAM file to a sequential data set.

Sample JCL for this utility can be found in member VIDUNLOD in VID.SVIDSAMP, as follows:

Figure 1. Sample JCL for VIDUNLOD
//VIDUNLOD EXEC PGM=VIDUNLOD                      
//STEPLIB   DD DSN=VID.SVIDLODE,DISP=SHR  
//SYSPRINT  DD SYSOUT=*                            
//FILEIN    DD DSN=appl.base.cluster.file,DISP=SHR       
//FILEOUT   DD DSN=appl.sequential.unload,UNIT=SYSDA,
//             DISP=(,CATLG,DELETE),RECFM=FB,LRECL=108,
//             SPACE=(CYL,(25,5),RLSE)   
Note the following points about the VIDUNLOD utility:
When the VSAM file has finished unloading, the following message is sent to the JES job log:
+VIDUNLOD                                              
+VIDUNLOD - HAS SUCCESSFULLY UNLOADED FILEIN TO FILEOUT
+VIDUNLOD

Information Information

Feedback


Timestamp icon Last updated: Monday, 10 February 2014


http://pic.dhe.ibm.com/infocenter/cicsts/v5r1/topic/com.ibm.cics.vt.doc//topics/cvtug_datamig_step1.html