Step 2. Upload Distribution Files to z/OS |
Scroll |
Upload the Connect CDC SQData 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. Copy and paste the following lines into an new file named UpLoadSQD.bat; save the file and execute at the command line:
-----Start copy below this 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
-----End copy above this line----