FTP Files and Dumps

Document ID : KB000045386
Last Modified Date : 14/02/2018
Show Technical Document Details


JCL to transfer files and dumps to and from support.ca.com. 



Use the ‘GET’ statement to FTP from the web to z/OS.  Use the ‘PUT’ statement to FTP from z/OS to the web.

Do not use this JCL to transfer CA Gen PTFs.  See Technical Document TEC1976211 to transfer CA Gen PTFs.


//* 1.  Add JOBCARD

//* 2.  Enter your support.ca.com email address as indicated below

//* 3.  Enter your support.ca.com password (case sensitive)

//* 4.  Enter the info to change directories.  See note below

//*  5.  Enter the 'GET' or 'PUT' statement.  See note below

//FTPSTEP3 EXEC PGM=FTP,PARM='(EXIT=08'                       


//SYSPRINT DD SYSOUT=*                                         

//OUTPUT   DD *                                                

//INPUT    DD *                                                


johle05@ca.com     ==è Your email address                                            

Amberdjon12          ==è  Your password case sensitive                                                 


cd 0106195/00216497-01/files_from_customer                     

get 00216497.gencbl52.jlog1.trs 'JOHLE05.TR.GENCBL52.JLOG1.TRS'




//*  Remove all comments in yellow


//*  Example of the ‘put’ statement

cd 0106195/00216497-01/files_to_ca      ==è cd <site id>/<case-01>/                    

put 'JOHLE05.TR.GENCBL52.JLOG1.TRS'  00216497.gencbl52.jlog1.trs   ==è z/OS to web file names