VB INET FTP (JCL) to Mainframe --- how is it done?
Posted on 2003-10-31
I am successfully using VB inet icFTP protocol to put and get files from a PC and an IBM mainframe host (OS/390 tcp/ip communications server).
However, there doesn't seem to be a way to send commands like "quote site filetype=jes" to the mainframe. This is a requirement in order to have the file sent interpreted as a JCL jobstream. This is my aim.
An interesting thing is that the "quote site filetype=jes" command, the "ascii" command and numerous other commands are accepted via an ftp session initiated in a DOS shell on my PC. It also works on UNIX.
How is this done in VB? Are there examples? I realize that I may not be able to use INET. I noticed the VERY SAME question heading in experts exchange, but the question/answer itself has been removed. Help@!