Search found 42 matches
- Tue Dec 14, 2010 12:05 pm
- Forum: IBM<sup>®</sup> DataStage TX
- Topic: Need help to implement recursion in WTX
- Replies: 2
- Views: 19512
I haven't been on here for a while, and I know this thread isn't that new. However, I think this can be accomplish without recursion or functional maps, no offense intended at all to JorgeCox. It looks as if his solution will work, I just wanted to offer a different one. Given that Input1 is a strin...
- Thu Jun 05, 2008 9:43 am
- Forum: IBM<sup>®</sup> DataStage TX
- Topic: A Registry Read Function in DataStageTX 8.0 ?
- Replies: 14
- Views: 12740
- Thu Jun 05, 2008 8:27 am
- Forum: IBM<sup>®</sup> DataStage TX
- Topic: A Registry Read Function in DataStageTX 8.0 ?
- Replies: 14
- Views: 12740
Excellent tip ameyvaidya!
This works like a charm.
This works like a charm.
Code: Select all
=SUBSTITUTE(
SUBSTITUTE(
GET("BAT","-cli -cmd '@HOSTNAME'")
,"<CR>"
,""
)
,"<LF>"
,""
)
- Wed Jun 04, 2008 11:03 am
- Forum: IBM<sup>®</sup> DataStage TX
- Topic: A Registry Read Function in DataStageTX 8.0 ?
- Replies: 14
- Views: 12740
- Thu Mar 06, 2008 3:13 pm
- Forum: IBM<sup>®</sup> DataStage TX
- Topic: GMT Time
- Replies: 1
- Views: 5692
- Tue Sep 11, 2007 12:06 pm
- Forum: IBM<sup>®</sup> DataStage TX
- Topic: Resource Registry Use or MisUse Question......
- Replies: 10
- Views: 9259
It does seem pointless when all the values are virtually the same for each server. However, if they moved to having those all hard coded and one of the servers had a problem such that they temporarily had to host a directory or two somewhere else or on a different OS (ala Windows), then the need to ...
- Wed Apr 25, 2007 3:19 pm
- Forum: IBM<sup>®</sup> DataStage TX
- Topic: Getting a XML file as output
- Replies: 7
- Views: 5685
Hi, The solution that you have suggested can be used if the type tree imported is used at input side. Importing a DTD/XSD into the Type Tree Designer does not force that type tree to be an *Input* type tree only. A Type Tree is capable of being used both as input and as output. Jan is correct. Impo...
- Mon Mar 12, 2007 10:56 am
- Forum: IBM<sup>®</sup> DataStage TX
- Topic: How to call Shell script from a dstx map?
- Replies: 5
- Views: 20200
- Tue Mar 06, 2007 10:28 am
- Forum: IBM<sup>®</sup> DataStage TX
- Topic: How to call Shell script from a dstx map?
- Replies: 5
- Views: 20200
Re: How to call Shell script from a dstx map?
Balkrishna wrote:I have created one shell script on UNIX server (Purge.sh) and i want to run this shell script using Datastage TX (7.5.1) map.
How can i do the same? Thanks for your help in advance.
Code: Select all
=GET(
"SHL"
,"-cli -cmd 'Purge.sh'"
)
- Thu Sep 14, 2006 12:11 pm
- Forum: IBM<sup>®</sup> DataStage TX
- Topic: Execute a CMD command with -CLI option
- Replies: 2
- Views: 3788
To me the documentation on the Batch/Shell adapter was totally confusing. Finally I hit on the following that works (so far) for all our needs:
Hope it helps,
John
Code: Select all
=GET("SHL","-cli -cmd 'mkdir " + DirName + "'")
John
- Wed Aug 02, 2006 11:14 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to define the " quote character in the routine
- Replies: 5
- Views: 3578
- Mon May 22, 2006 7:31 am
- Forum: IBM<sup>®</sup> DataStage TX
- Topic: specific function to add months in a date
- Replies: 26
- Views: 18267
- Mon May 22, 2006 7:08 am
- Forum: IBM<sup>®</sup> DataStage TX
- Topic: specific function to add months in a date
- Replies: 26
- Views: 18267
- Mon May 22, 2006 6:13 am
- Forum: IBM<sup>®</sup> DataStage TX
- Topic: specific function to add months in a date
- Replies: 26
- Views: 18267
- Fri May 19, 2006 2:21 pm
- Forum: IBM<sup>®</sup> DataStage TX
- Topic: specific function to add months in a date
- Replies: 26
- Views: 18267
Well, I finally finished a formula that will (according to my rigorous :roll: testing standards) perform the function off adding or subtracting months to/from a date. (To subtract you would put a negative number in the MonthsToAdd object.) In addition to handling leap year, it will handle situations...