Hey Synsog,
You might like this approach for your requirement.
http://dsxchange.com/viewtopic.php?p=41 ... d14#416088
Thanks,
Raja R P
Search found 145 matches
- Mon Oct 15, 2012 8:48 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to generate unique numbers only for duplicates
- Replies: 2
- Views: 1528
- Tue Jul 17, 2012 12:59 pm
- Forum: General
- Topic: get row count
- Replies: 20
- Views: 16659
Hi Sreedhar,
the after job routine in the below link will serve your purpose(a post by marpadga18)
viewtopic.php?t=138651
Regards,
Raja R P
the after job routine in the below link will serve your purpose(a post by marpadga18)
viewtopic.php?t=138651
Regards,
Raja R P
- Wed May 02, 2012 12:00 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Creating Teradata table in the Datastage job
- Replies: 10
- Views: 8008
- Mon Apr 23, 2012 2:49 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: LIBPATH & The module has an invalid magic number error
- Replies: 0
- Views: 3648
LIBPATH & The module has an invalid magic number error
Hi all, I am having a job sequence which is having a routine activity.The routine activity is as detailed below Routine name:ExecSHSilent Aruments: Name:Inputarg value expression: ksh /path/unixscript.ksh bteq1.sql where 'unixscript1.ksh' is used to trigger the 'bteq1.sql' while executing the job,i ...
- Wed Apr 18, 2012 12:24 am
- Forum: General
- Topic: Equivalent of WeekdayFromDate in Job sequence
- Replies: 7
- Views: 4304
- Tue Apr 17, 2012 5:16 pm
- Forum: General
- Topic: Equivalent of WeekdayFromDate in Job sequence
- Replies: 7
- Views: 4304
Equivalent of WeekdayFromDate in Job sequence
Hi All, I would like to know a way to implement the equivalent of 'Weekdayfromdate ' function job sequence.Can this be achieved somehow in Job sequence? Basically, I have the date in 'yyyy-mm-dd' format in a unix file.In the execute command activity, I can use cat unixfilename and pull the date valu...
- Fri Apr 06, 2012 2:03 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sort before a Sequential file
- Replies: 5
- Views: 3935
- Fri Apr 06, 2012 12:01 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sort before a Sequential file
- Replies: 5
- Views: 3935
- Fri Mar 23, 2012 2:55 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Sort before a Sequential file
- Replies: 5
- Views: 3935
Sort before a Sequential file
Hi all, I have got a simple job to review and want to confirm a thing. Source 2 | JOIN-->SORT-->sequential file | Source1 My Understanding: As the sequential file is not going to maintain the sorting, the 'SORT' stage in front of the seq.file is not required. Please confirm whether my understanding ...
- Thu Feb 16, 2012 12:27 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Issue with XML input
- Replies: 5
- Views: 3686
Thanks for the suggestion Ernie!!!! I have checked the file permission and sub directory permision and have done 'chmod 777' for both the file and directory.But, no luck :( Also,another paraller job is able to write another seq file in the sme location. So belive, 'permission' is not the problem!!!!...
- Wed Feb 15, 2012 2:18 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Issue with XML input
- Replies: 5
- Views: 3686
Issue with XML input
Hi all, I am developing a simple parallel job which involves a xml input file Sample input data =========== <xml> <ID>I7-1</ID> <ID>I7-2</ID> </xml> Job design: External source-->XML_Input--->SEq file Settings: External source: ========== Properties: source Method: Specific program(s) Source program...
- Fri Feb 10, 2012 3:09 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: scenario
- Replies: 13
- Views: 8314
HendrikB You could group the data in the sort stage (by TableName) and then use the created key change column in one stage variable in transformer. The syntax of <stagevar>: If KeyChange Then 1 Else <stagevar> +1 This should work like charm :) I didn't think of 'create key change' column and this is...
- Thu Feb 09, 2012 10:17 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: scenario
- Replies: 13
- Views: 8314
Hi Sudhana, You can design a job as below Source--->Sort--->Transformer--->Target Sort your i/p data based on the only input column you have. In the following transformer, you can use the three stage variables in the same order as below. 1.Column1Changed =>if link.COLUMN1 = PrevColumn1 then 'NC' els...
- Fri Feb 03, 2012 3:35 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: logic required
- Replies: 5
- Views: 2455
- Thu Sep 15, 2011 7:57 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Access Mainframe Flat Files
- Replies: 5
- Views: 2963
Access Mainframe Flat Files
Hi All, My input data is present in Mainframe Flat files.So, I would like to know , is there a way to access Mainframe Flat Files in a Parallel Job .I chanced upon 'Complex Flat File Stage' in Designer.Is that the stage i should look into? If not, how do one normally access data from MainFrame Flat ...