ZIO Community
  • Home
  • Blogs
  • FORUM
  • About
  • Contact
  • Products
    • Z Asset Optimizer
    • Business Developer
    • CICS Tools
    • Fault Analyzer
    • Z Data Tools
    • HACP & HATS

SEAMLESS VSAM DATA TRANSFER BETWEEN HOST AND PC

7/20/2020

0 Comments

 
Picture
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 :
  • Create a batch job to copy data from VSAM to PS file using IDCAMS utility.
  • Copy VSAM data to PS file by executing the batch job.
  • Copy PS files from the host to PC using FileZilla or any other file transfer utilities.
 
PC to Host :
  • Copy PS files from the host to PC using FileZilla or any other file transfer utilities.
  • Create a batch job to copy data from PS to VSAM file using IDCAMS utility.
  • Copy PS data to VSAM file by executing the batch job.
 
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.
Picture
Figure 1: Creating a JCL Program (data transfer from VSAM to PS file)
Step 2 - Submit the job to create a new PS file with the DATA that must be loaded from the VSAM file.
      
Picture
Step 3 - Export the VSAM file from the host to PC using FileZilla or any other file transfer utilities.       
  • Open the FileZilla and provide the host details.
  • Select PS file from the host and copy into user machine.
  • This will make sure that you have taken backup of your VSAM data to the PS, in the form of PS files.
 
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.
 
Picture
Figure 3: Creating a JCL Program (data transfer from PS to VSAM file)
Picture
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.

    Archives

    July 2020
    June 2020
    December 2019
    October 2019
    August 2019
    March 2019
    January 2019
    December 2018
    October 2018
    September 2018
    July 2018
    June 2018
    May 2018
    April 2018

    Categories

    All
    Business Developer
    CICS
    Fault Analyzer
    File Manager

    RSS Feed

Home

Blogs

About

Forum

Contact

Copyright © 2015
  • Home
  • Blogs
  • FORUM
  • About
  • Contact
  • Products
    • Z Asset Optimizer
    • Business Developer
    • CICS Tools
    • Fault Analyzer
    • Z Data Tools
    • HACP & HATS