If you install the ISPF WorkStation Agent on the PC, you can initiate workstation commands from the mainframe using the "SELECT WSCMDV" service. For example, you can execute a BAT file or EXE (etc). You could even use the FILEXFER service to transfer the file first, check the return code to make sure the transfer was successful, and then use WSCMDV to execute the workstation command. In other words it would all be part of one process and you wouldn't need to use FTP.
Hope that helps, Dave Salt See the new SimpList(tm) rollover image at: http://www.mackinney.com/products/SIM/simplist.htm > Date: Thu, 10 Apr 2008 16:18:52 -0500 > From: [EMAIL PROTECTED] > Subject: Send a command to a desktop from MVS > To: IBM-MAIN@BAMA.UA.EDU > > I have a mainframe application that uses FTP to transfer some data to a PC. > Currently use FTP in an ISPF application to an FTP Server, FileZilla, on the > desktop. Data gets where its supposed to go, and in the correct format. Does > anyone know if there is any way to tell Windows to run a script from MVS? > Either as part of the FTP session, or some other method? I would like to be > able to transfer the data and update the database on the desktop without user > intervention on the Windows side. > > --Dave Day > > ---------------------------------------------------------------------- > 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 > _________________________________________________________________ Find hidden words, unscramble celebrity names, or try the ultimate crossword puzzle with Live Search Games. Play now! http://g.msn.ca/ca55/212 ---------------------------------------------------------------------- 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