前のトピック: バッチ JCL を使用したダウンロード

次のトピック: PC を経由したファイルのメインフレームへのダウンロード

例: CAtoMainframe.txt JCL

添付の CAtoMainframe.txt JCL ファイルには以下のテキストが表示されます。

//GETPAX   JOB (ACCOUNTNO),'FTP GET ESD PACKAGE',
//          MSGCLASS=X,CLASS=A,NOTIFY=&SYSUID
//*********************************************************************
//* This sample job can be used to download a pax file directly from  *
//* CA Support Online to a USS directory on your z/OS system.         *
//*                                                                   *
//* This job must be customized as follows:                           *
//* 1. Specify a valid JOB statement.                                 *
//* 2. Replace "yourTCPIP.PROFILE.dataset" with the name if the TCPIP *
//*    profile data set for your system.                              *
//* 3. Replace "Host" based on the type of download method.           *  
//* 4. Replace "YourEmailAddress" with your email address.            *
//* 5. Replace "yourUSSESDdirectory" with the name of the USS         *
//*    directory used on your system for ESD downloads.               *
//* 6. Replace "FTP Location" with the complete path                  *
//*    and name of the pax file obtained from the FTP location        *
//*    of the product download page.                                  *
//*********************************************************************
//GETPAX  EXEC PGM=FTP,REGION=0K 
//SYSTCPD  DD   DSN=yourTCPIP.PROFILE.dataset,DISP=SHR
//SYSPRINT DD  SYSOUT=* 
//OUTPUT   DD   SYSOUT=*
//INPUT    DD   *                                            
Host                      
anonymous YourEmailAddress
lcd yourUSSESDdirectory
binary                             
get FTP location
quit