VSAM files are widely used in CICS applications and it contains critical information with a huge data set. It is always a better idea to keep a backup of these files in your PC for future use. However, we cannot directly copy these VSAM files to PC, hence steps given in this blog will be helpful to perform VSAM data transfer between the host and PC. High-Level Steps - VSAM Data Transfer Host to PC :
PC to Host :
Following are the detailed steps: Host to PC File Transfer: Step 1 - Create a JCL program as shown in Figure 1. This JCL is used to copy the VSAM data into a PS file using the REPRO command. Step 2 - Submit the job to create a new PS file with the DATA that must be loaded from the VSAM file. Step 3 - Export the VSAM file from the host to PC using FileZilla or any other file transfer utilities.
PC to Host File Transfer: Step 1 - Copy PS files from the PC to host using FileZilla or any other FTP utility. Step 2 - Create a JCL program to copy the PS file data into VSAM file. Step 3 - Save and submit the JCL to load the data into the VSAM file. By completing the above procedure, you can seamlessly perform VSAM data transfer between the host and PC.
Contact Dionne A Nerissa QA Engineer – CICS VR
0 Comments
Leave a Reply. |