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.
- Prepare to Download Distribution Files
- 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
- 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.
- Download the Distribution Files
- AWS for z/OS is available for download from Support.
- Download the seven AWS Mainframe Modernization distribution files into newly created version-release sub-directory.
- If necessary, unzip the sqdata-zos-4.nn.nn.zip distribution to yield the terse files.
- Upload Distribution Files to z/OS
- Upload the AWS distribution terse files, in binary, to your z/OS system.
- 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