I am using the Net::FTP module in Perl to automate transferring datafiles
between one of my Unix servers and a mainframe. I have the connection going
and in general, can transfer files without problems.
However, I've been told that as part of the file transfer, I have to issue a
mainframe specific command (there is no method in Net::FTP that corresponds
with this command). The command I need to issue is "quote site lrecl=827
recfm=fb blksize=27291 cylinder primary=1 secondary=1".
I have tried to use the "quot" method. It goes something like this
$ftp->quot("quote site lrecl=827 recfm=fb blksize=27291 cylinder primary=1
secondary=1");
The script runs the whole way through but apparently does not evaluate this
line. I don't get any kind of error but when our mainframe programmer looks
at the mainframe, she says that that command did not work. If I step
through the ftp process on that command line, that command works like it is
supposed to.
Any ideas?
Andrew Hinkle
Unix Systems Administrator
CA Secretary of State's Office
916.653.2320
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]