SFTP copy from the AMI directly to your z/OS system - aws_mainframe_modernization_service - Latest

AWS Mainframe Modernization Data Replication for IBM z/OS

Product type
Software
Portfolio
Integrate
Product family
Connect
Product
AWS Mainframe Modernization > AWS Mainframe Modernization Service
Version
Latest
ft:locale
en-US
Product name
AWS Mainframe Modernization
ft:title
AWS Mainframe Modernization Data Replication for IBM z/OS
Copyright
2025
First publish date
2000
ft:lastEdition
2025-02-10
ft:lastPublication
2025-02-10T15:55:15.122000
One way to get Precisely Connect CDC for z/OS is to sftp the image directly from the Precisely AMI into the z/OS system where it will be installed. Doing so, eliminates the need for an intermediate system and also validates that the required communications between the z/OS system and the AMI is working. To use this method, your z/OS system must be enabled for SSH using the Setting up the sshd daemon instructions from IBM. You will also need to make sure the SQDATA high level qualifier exists and your z/OS ID has ALTER privilege to use it.
  1. Prepare to SFTP copy the Distribution Files
    1. Login to your z/OS USS shell and set up ssh for your user
      UID> mkdir -p .ssh; chmod 700; cd .ssh
      UID> ssh-keygen -t rsa
      UID> cat id_rsa.pub
      UID> touch ami-ec2-user.pem
    2. Copy and paste the contents of the ec2-user pem file created during launch of the AMI into ami-ec2-user.pem just created.
    3. Login to ec2-user in your AMI and setup ssh contents.
      ec2-user> mkdir -p .ssh; chmod 700; cd .ssh
      ec2-user> touch authorized_keys; chmod 600 authorized_keys
    4. Copy and paste the contents of your z/OS user id_rsa.pub into authorized_keys.
  2. SFTP copy the Distribution Files to z/OS
    1. Login to your z/OS USS shell and sftp copy over the zipped distribution files and unpack them.
      UID> mkdir -p software; cd software
      UID> sftp -i ~/.ssh/ami-ec2-user.pem ec2-user@<ami public name or IP> 
      sftp> cd /opt/precisely/di/packages
      sftp> get sqdata-zos-4.1.53.zip
      sftp> quit
      UID> unzip sqdata-zos-4.1.53.zip
      UID> ls -l sqdata-zos-4.1.53


    2. Copy the distribution files into z/OS datasets.
      UID > cd sqdata-zos-4.1.53
      UID > find SQDATA.ZOS.V40152.*.TERSE -exec cp -P "recfm=FB,lrecl=1024,blksize=27648,space=(CYL,(50,10),RLSE)" {} "//'{}'" \;
    3. Validate you have the zOS datasets using ISPF.