Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

Connecting AS400 system using FTP script

$
0
0

Hi All,

 

Prxoy to File Scenario.

 

I need to connect AS400 system using FTP script. Need to place the file in AS400 and get that file processed from script only.

 

We have been asked to use the follwoing script.

 

 

FTP Statements

OPEN <AS400 server name>

USERID

PASSWORD

PUT DIR/FILE QTEMP/Receiver_Filename

QUOTE RCMD SNDNETF FILE(QTEMP/Receiver_Filename) TOUSRID((Receiver_ID AS400COR))

QUIT

 

Where DIR/FILE will be PI Folder and filename

 

Let me know if any one of you come across this scenario and solution for the same.

 

Thanks in Advance.

 

Regards,

Sreenivas.


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>