Technote (FAQ)
Question
FTP communications V6R1 / V7R1 Receive Only script not bringing data into inbound queue
Cause
script changes and commands need added for V6R1/V7R1
Answer
Make sure that BINARY is upper case, and that the following Commands come after BINARY in the script: SENDEPSV, SENDPASV 1, and SENDEPRT. You might not need them all but this is the place to start.
Sample script for Receive Only:
10 C Send logon/password to Centre
mailboxid password
020 C Set binary file transfer
BINARY
030 C Turn passive mode off
SENDPASV 1
035 C Turn epassive mode off
SENDEPSV
037 C Turn ereport mode off
SENDEPRT
040 C Change CURLIB for receive
! CHGCURLIB CURLIB(QGPL)
050 C CD to receive dir
cd receive
060 R IM Receive all files to inbqueue
*
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.