JCL to download PTF from Broadcom Support Portal to z/OS
search cancel

JCL to download PTF from Broadcom Support Portal to z/OS

book

Article ID: 210734

calendar_today

Updated On:

Products

Gen Easytrieve Report Generator

Issue/Introduction

Attempting to use the JCL to extract a PTF from the Support Online site directly to the z/OS server.

Receiving the following error: 

EZA1736I FTP (TIME 40                                                   
EZY2640I Using 'TCPIP.FTP.DATA' for local site configuration parameters.
EZA1450I IBM FTP CS V2R1                                                
EZA1456I Connect to ?                                                   
EZYFS34W FTP will not remove TRAILING sequence numbers                  
EZA1736I ftp.broadcom.com                                                     
EZA1553E Invalid port number. Open fails.                               

The JCL is quite simple...

//FTPSTEP  EXEC PGM=FTP,REGION=0M,PARM=' (TIME 40'           
//SYSPRINT DD   SYSOUT=*                                     
//OUTPUT   DD   SYSOUT=*                                     
//INPUT    DD *                                              
downloads.broadcom.com                                                   
anonymous                                                    
(email address)                                    
cd /apars/d19/pCGHE/r8.6/oOS                                 
dir                                                          
bin                                                          
locsite CYL primary=001 secondary=001                        
get SO16038.BIN 'GJD.CAGEN.FTPPTF(SO16038)'    

Resolution

Before following the next steps, open to edit the FTP job and then type the UNNUM command on the command lines to clear out the numbers in columns 72-80. Please repeat this operation on all the lines to confirm that you remove them all.
 
1) Go to the Broadcom Support Portal  (https://support.broadcom.com/) and request a FTP download of the PTF you need. Doing this will put the PTF in an "order location". 
 
2) Please pre-allocate the mainframe PDS used to receive the PTF.
In the job below, it's referenced as 'mainframe.pft.dataset.name.here' - create this prior to running the job. 
 
3) Here's the mainframe FTP batch job:
Note1: the 'order location' above contains the component to be FTP'd. Don't include that in the 'cd' statement below.   
 
//*                                                    
//FTPSTEP  EXEC PGM=FTP,REGION=0M,PARM=' (TIME 40'    
//SYSPRINT DD   SYSOUT=*                              
//OUTPUT   DD   SYSOUT=*                              
//INPUT    DD *                                        
downloads.broadcom.com                                
userid                           <- --Broadcom Support Portal userid
password                      <--- Broadcom Support Portal password
dir                                                    
bin                                                    
cd /21237764               <-- Order location as specified from the Broadcom Support Portal
get SO16038.BIN 'mainframe.pft.dataset.name.here(SO16038)'            
//*                                                    
//                                                 

Additional Information

Download Methods and Locations