Define 'work'. Is the destination file a VSAM KSDS? -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Frank Swarbrick Sent: Thursday, March 26, 2009 6:31 PM To: [email protected] Subject: FTP of VSAM file
Did you know that, in some circumstances you *can* FTP a VSAM file? Use "DD name support". See the following: //FTP1 JOB CLASS=A,MSGCLASS=X,NOTIFY=&SYSUID //EXEC EXEC FTP,SERVER=10.1.112.95 //FTP.INPUT DD DISP=SHR,DSN=FJS.WORK.FTPDATA(PEPVSE) // DD * cd inetcat structure record binary get ach.prod.ksds.achtotl //DD:ACHTOTL quit /* //ACHTOTL DD DISP=OLD,DSN=FJS.VSAM.ACHTOTL FJS.VSAM.ACHTOTL is a KSDS. I can't see that it's documented anywhere that this works, but it does in fact work. Maybe you all knew this, but I've seen many statements that FTP does not support VSAM. And doing it most other ways it does not. Frank BTW, this is my FTP proc: //FTP PROC PORT=, // AUTH=, // FTPDATA=, // EXIT='-e', // TIMEOUT='-w 20' //FTP EXEC PGM=FTP,REGION=0M, // PARM='&FTPDATA &AUTH &EXIT &TIMEOUT &SERVER &PORT' // PEND ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

