Description:
To solve an issue, CA Support technicians will often request additional documentation such as dumps or a copy of a catalog. This document provides an example on how to FTP a disk dataset to CA support FTP server.
Solution:
To FTP a DYNAM catalog (or a fixed record file with record length of 1024 from customer to CA, use the following jcl:
// DLBL FIL2,'DYNAM.71.CATALOG' // EXTENT ,vvvvvv,,,sss,nn // EXEC FTPBATCH,PARM='IP=141.202.253.54' userid@server password localuser localpassword LSITE UNIX OFF LSITE CRLF OFF bin CD /0cccccc/nnnnnnnn-nn/files_from_customer put %FIL2,SAM,F,1024 DYNAM.catalog QUIT /*
Change 1024 to the length of your dataset.
To FTP a fix blocked file from customer to ca (In this case record length 100 5 records by block):
// DLBL FIL2,'FILE.TO.SEND' // EXTENT ,vvvvvv,,,sss,nn // EXEC FTPBATCH,PARM='IP=141.202.253.54' userid@server password localuser localpassword LSITE UNIX OFF LSITE CRLF OFF bin CD /0cccccc/nnnnnn-nn/files_from_customer put %fil2,SAM,FB,100,500 file.fixblock.100.5 QUIT /*
Change 100 to the record length of your file, 500 to the block length and 5 to the number of record by block.
where userid@server is the userid used to signon to support.ca.com and password the password to access support.ca.com.
cccccc is the customer id
nnnnnnnn.nn the issue number
vvvvvv the volume where the file reside/will be placed
sss the start track of the file
nn the number of tracks.
localuser and localpassword the userid and password that identify you on your z/VSE TCP/IP system.