Sample JCL to Download the HOLDDATA File
Sample JCL is provided to download the HOLDDATA file from the
BroadcomFTP server to your z/OS system. Customize the JCL before submitting.
//*===================================================================* //* This sample job can be used to download the CA HOLDDATA file * //* file from the Broadcom FTP server to your z/OS system. Before * //* submitting: * //* * //* 1. Change 'yourPortalemailaddress' and 'yourPortalPassword'. * //* * //* 2. Some sites may require the SYSTCPD DD to provide access to the * //* correct TCPIP stack for an external network. If required, * //* uncomment the SYSTCPD DD and update DSN. Consult your network * //* support staff for the correct data set name. * //* * //* 3. Replace <holddata file name> with one of the following * //* HOLDDATA files to download * //* Monthly - MONTHLY-HOLDDATA.TXT * //* Quarterly - QUARTER-HOLDDATA.TXT * //* Yearly - YEARLY-HOLDDATA.TXT * //* ALL - ALL-HOLDDATA.TXT * //* * //* If you are not sure which file is appropriate, download the * //* ALL-HOLDDATA.TXT to obtain all hold information available. * //* * //* 4. Change <your PTFHOLD DSN> to the Data set name where you want * //* the HOLDDATA to be saved. * //* * //* 5. Supply a JOB statement before this sample JCL * //*===================================================================* //GETHOLD EXEC PGM=FTP,REGION=0M //SYSPRINT DD SYSOUT=* //OUTPUT DD SYSOUT=* //*SYSTCPD DD DSN=<your TCPIP.DATA file>,DISP=SHR //INPUT DD * ftp.broadcom.com 21 yourPortalemailaddress yourPortalPassword cd /pub/HoldData/ dir asc locsite LR=80 REC=FB BLOCKSI=0 locsite PRI=20 SEC=10 CY get <holddata file name> '<your PTFHOLD DSN>' (REPLACE quit /*