Question & Answer
Question
FTP communications V6R1 / V7R1 Receive Only script not bringing data into inbound queue
Cause
script changes and commands need added for V6R1/V7R1
See knowledge base article (NOTE: Separate Send/Receive script in Gentran Server for iSeries if the OS change command defaults are used from this article).: http://www-01.ibm.com/support/docview.wss?uid=nas1dace92df240295dc8625742500565275
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
*
Was this topic helpful?
Document Information
Modified date:
12 October 2019
UID
swg21628339