SFTP copy from the AMI to an intermediate 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
These instructions shown on a Windows environment, with minor adjustments, will work from any intermediate environment to copy over the Precisely SQData for z/OS distribution files from the AMI.
  1. Prepare to Download Distribution Files
    1. On your workstation, create a AWS directory and a Version/Release specific sub-directory. It is recommended a directory structure similar to the following for this and future releases.
      D:\SQData                          The base product directory
      D:\SQData\V4nnnn                   A ver-rel-build specific sub-directory
  2. Download the Distribution Files
    1. AWS for z/OS is available for download from Support.
    2. Download the seven AWS Mainframe Modernization distribution files into newly created version-release sub-directory.
    3. If necessary, unzip the sqdata-zos-4.nn.nn.zip distribution to yield the terse files.
  3. Upload Distribution Files to z/OS
    1. Upload the AWS distribution terse files, in binary, to your z/OS system.
    2. Make sure that you upload these files to datasets with a format of FB 1024.
    You may be able to use a windows Batch file to FTP the distribution files. Cut and paste the following lines and paste into an new file named UpLoadSQD.bat; save the file and execute at the command line:
    echo off
    rem ****************************************************************
    rem * Command Script to Upload the SQDATA Distribution Terse Files*
    rem ****************************************************************
    rem ----------------------------------------------------------------
    rem Modify the following as required for your environment below
    rem ----------------------------------------------------------------
    rem SDIR: the name of the source Windows directory
    rem V: the Version number
    rem R: the Release number
    rem B: the Build number
    rem HOST: the name or IP address of the z/OS host system
    rem USER: a valid z/OS userid for the target host system
    rem PSWD: a valid z/OS password for the target host system
    rem HLQ: High level library Qualifier on target host system
    rem ----------------------------------------------------------------
    rem ****************************************************************
    rem * Dynamically create an FTP script file and upload all the *
    rem * TERSE files to the target host SQDATA High Level Qualifier* *
    rem ****************************************************************
    set /p SDIR="Enter your Download Directory: "
    dir %SDIR%
    set /p V="Enter single digit Version: "
    set /p R="Enter two digit Release: "
    set /p B="Enter two digit Build: "
    set /p HOST="Enter your zOS Host name or IP Address: "
    set /p USER="Enter your zOS User-ID: "
    set /p PSWD="Enter your zOS Password: "
    set /p HLQ="Enter the High level library Qualifier eg:TEST: "
    echo %user% > u.ftp
    echo %pswd% >> u.ftp
    echo prompt >> u.ftp
    echo binary >> u.ftp
    echo quote site recfm=fb lrecl=1024 blksize=27648 cy pri=1 sec=1 >> u.ftp
    echo cd '%HLQ%' >> u.ftp
    echo put %SDIR%/%V%.%R%.%B%/SQDATA.*.CNTL.TERSE SQDATA.V%V%%R%%B%.CNTL.TERSE >> u.ftp
    echo put %SDIR%/%V%.%R%.%B%/SQDATA.*.DBRMLIB.TERSE SQDATA.V%V%%R%%B%.DBRMLIB.TERSE >> u.ftp
    echo put %SDIR%/%V%.%R%.%B%/SQDATA.*.ISPFLIB.TERSE SQDATA.V%V%%R%%B%.ISPFLIB.TERSE >> u.ftp
    echo put %SDIR%/%V%.%R%.%B%/SQDATA.*.PARMLIB.TERSE SQDATA.V%V%%R%%B%.PARMLIB.TERSE >> u.ftp
    echo put %SDIR%/%V%.%R%.%B%/SQDATA.*.PGMOBJ.TERSE SQDATA.V%V%%R%%B%.PGMOBJ.TERSE >> u.ftp
    echo put %SDIR%/%V%.%R%.%B%/SQDATA.*.PROCLIB.TERSE SQDATA.V%V%%R%%B%.PROCLIB.TERSE >> u.ftp
    echo put %SDIR%/%V%.%R%.%B%/SQDATA.*.SAMPLIB.TERSE SQDATA.V%V%%R%%B%.SAMPLIB.TERSE >> u.ftp
    echo quit >> u.ftp
    ftp -s:u.ftp %host%
    echo you may delete this file > u.ftp
    echo File transfer complete