Unix Shell Script to execute a TX Map

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
jazzer1
Participant
Posts: 37
Joined: Mon Mar 20, 2006 10:26 am

Unix Shell Script to execute a TX Map

Post by jazzer1 »

Would anyone have a sample Unix shell script that executes a TX map ?
The map reads and writes a flat file.
Thank you.
jgibby
Participant
Posts: 42
Joined: Thu Dec 16, 2004 8:48 am

Post by jgibby »

From the Unix shell just do something like this:

Code: Select all

dstx MapName.mmc 
That will execute the map with all the settings compiled in the map. You can override many of the settings just as you do with the RUN function.

I suggest taking a look at the Execution Commands Reference Guide PDF.
Post Reply