I have a nice routine that does the same, for anyone who is interested. I usually use it in job sequences, but it has been used as a derivation.
You will find it on the DataStage Tools page of www.anotheritco.com .
Search found 382 matches
- Thu Jan 10, 2008 5:39 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Controlling job flow by counting rows in hashed files - ???
- Replies: 9
- Views: 3153
- Tue Jan 01, 2008 6:34 pm
- Forum: General
- Topic: Job parameters
- Replies: 6
- Views: 2152
Take a look at my Jobs and routines to integrate a parameter table into a sequence. You will find it on the DataStage Tools page of www.anotheritco.com .
- Sat Dec 29, 2007 7:44 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: sub sequence aborted but the main sequence didn't
- Replies: 7
- Views: 4147
Verify in your master sequence that the activity stage calling the sub sequence has a failed trigger and does NOT have an unconditional trigger. The default trigger colors of DataStage Designer do not give enough visual clues. I suggest changing the wraning trigger to yellow, and the otherwise trigg...
- Sat Dec 29, 2007 7:34 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Passing parameter to uvsh select query in shell script
- Replies: 5
- Views: 4128
- Thu Dec 20, 2007 6:07 pm
- Forum: General
- Topic: Holiday giving...
- Replies: 0
- Views: 809
Holiday giving...
Happy holidays... I have posted three new tools on the DataStage Tools page of www.anotheritco.com . One is a routine that one passes a job name, active stage name, and link name. The link's row count is returned. Another is a set of jobs and routines, with a sample sequence, that I use to get, set,...
- Fri Oct 12, 2007 12:21 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: SQL SERVER - Character missing in Datasatge
- Replies: 5
- Views: 2950
- Sun Sep 23, 2007 7:35 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: pivoting data in rows to column
- Replies: 9
- Views: 21652
This is not too difficult. In a transform stage set up four stage variables: ThisRowKey, NewKey, PrevRowKey, and MoreData. The derivation for ThisRowKey should be the columns that uniquely identify the rows you want to group. The derivation for NewKey is If ThisRowKey <> PrevRowKey Then @TRUE Else @...
- Wed Jul 25, 2007 4:44 pm
- Forum: Data Integration
- Topic: IBM Information Server V8
- Replies: 1
- Views: 16081
Review this page:
Code: Select all
http://www-1.ibm.com/support/docview.wss?uid=swg27008923
- Thu May 31, 2007 4:21 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Question regarding Sequences
- Replies: 11
- Views: 4014
- Thu May 31, 2007 3:37 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: executing a bunch of SQL Statements
- Replies: 7
- Views: 1987
- Thu May 31, 2007 3:27 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Approach?
- Replies: 3
- Views: 2114
You may be able to use the before and after SQL tabs in a Dynamic Relational stage. Create a simple job that is a transform stage liked to a DRS stage. In the transform stage, add a stage variable and set the constraint on the output link to @FALSE. In the DRS stage, you will need some table informa...
- Wed May 02, 2007 5:17 pm
- Forum: General
- Topic: Incremental load with no key field at source
- Replies: 7
- Views: 4359
- Fri Apr 06, 2007 8:58 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Schedule not kicking off
- Replies: 2
- Views: 1234
- Fri Apr 06, 2007 8:55 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Write and Read the same hash file in same job?
- Replies: 6
- Views: 2712
- Tue Nov 14, 2006 12:22 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Attaching timestamp to the file name
- Replies: 2
- Views: 1362
After the job finishes, use a job sequence RoutineActivity stage with ExecDOS or ExecSH (or Execute Command stage) to run an operating system rename command. Using a UserVariableActivity stage, you can easily build the destination file name with dates and time available as DataStage macros. For exam...