Multiples files FTP and Process

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
DSRajesh
Premium Member
Premium Member
Posts: 297
Joined: Mon Feb 05, 2007 10:37 pm

Multiples files FTP and Process

Post by DSRajesh »

Hi All,

I need to ftp the files of type say 1.settlement 2.statements from source server to ds server.

There will be multiple files for each type of files.

Once the all the files are ftped to DS Server,I need to run each file to load into staging tables.

How to implement using ftp script for this.

also how to check if file exists in the remote source folders so that my job runs and pick the files.

If i Have two files of Settlement type with same name for example : HDFC_Settlement.csv,HDFC_09082012.csv..how to process each file in FTP Script.

also need to decrypt the encrypt the files by calling Java Classes through Batch Script.
RD
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

There's nothing special about the script - implement it as you would for any other application. Standard FTP techniques/commands are all you need (and maybe a way to handle the password "nicely").
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply