Reading Mutliple Files in a Card

Formally known as "Mercator Inside Integrator 6.7", DataStage TX enables high-volume, complex transactions without the need for additional coding.

Moderators: chulett, rschirm

Post Reply
rajnivas
Participant
Posts: 2
Joined: Wed May 10, 2006 7:49 am
Location: Chennai

Reading Mutliple Files in a Card

Post by rajnivas »

Hi All,

I need to read all the files in a directory, ie file name starts with
MM_F_**

is there any possible way to implement the above scenario.

Thanks in advance for any of the early responces.

bye
waitng for responce.
balajisr
Charter Member
Charter Member
Posts: 785
Joined: Thu Jul 28, 2005 8:58 am

Re: Reading Mutliple Files in a Card

Post by balajisr »

rajnivas wrote:Hi All,

I need to read all the files in a directory, ie file name starts with
MM_F_**

is there any possible way to implement the above scenario.

Thanks in advance for any of the early responces.

bye
waitng for responce.
Use Folder stage.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Or if the structure is same for all the files, use 'filter' option.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Folks, that's not how TX works. RTFM please. rajnivas may have more luck posting this question on DeveloperNet where there are more ex-Mercator folks posting.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
balajisr
Charter Member
Charter Member
Posts: 785
Joined: Thu Jul 28, 2005 8:58 am

Post by balajisr »

ray.wurlod wrote:Folks, that's not how TX works. RTFM please. rajnivas may have more luck posting this question on DeveloperNet where there are more ex-Mercator folks pos ...
Sorry, I thought it is a server question because job type is server.

Is it possible to add Datastage TX to the job type combo(When the message is posted)?
janhess
Participant
Posts: 201
Joined: Thu Sep 18, 2003 2:18 am
Location: UK

Post by janhess »

Use Event Server and wild card for the file name MM_F_*.* for the input card.
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

We have some TX gurus here as well. Keep up the good work janhess :)
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Post Reply