Take two stage variable S1 and S2.. Initialise both to zero.
Use below logic.
SAL+S1 => S2 ( Map S2 to cumu_column)
S2 => S1
And make sure you execute transformer in sequential mode.
Search found 86 matches
- Thu Jun 14, 2012 4:03 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: how to get cumulative sum
- Replies: 14
- Views: 7892
- Thu Jun 07, 2012 8:22 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: DB2 sequence implementation in datastage
- Replies: 3
- Views: 3836
Hi Craig Thanks for the reply. As per my requirement I dont know the upto which the loop has to be run as this is to be calculated run time by the query (select (days(last_day(CURRENT_DATE)) - days(to_date('20120101','YYYYMMDD'))) from SYSIBM.SYSDUMMY1). Aslo we need to pass the same to the main job...
- Tue Jun 05, 2012 12:50 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Passing Dynamic Metadata And Database TableName
- Replies: 3
- Views: 2466
- Tue May 29, 2012 11:58 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Oracle Stage Inserted once,Rejected once.
- Replies: 6
- Views: 2574
- Tue Mar 27, 2012 12:51 am
- Forum: General
- Topic: Using job having paramter set from command prompt
- Replies: 2
- Views: 1483
Using job having paramter set from command prompt
Hi,
I have parallel jobs having parameter set, Is it possible to run the job from command line by passing paramters at run time?
I have parallel jobs having parameter set, Is it possible to run the job from command line by passing paramters at run time?
- Mon Feb 27, 2012 8:13 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Row Values Repetition
- Replies: 3
- Views: 2583
- Thu Jan 12, 2012 12:50 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: TRNSFORMER COMPILATION IN DATASTAGE7.5x2
- Replies: 14
- Views: 6571
Ray
Hi Ray, I am getting the same error in variable setting can you please help me to solve this. cxx -O -IC:/Ascential/DataStage/PXEngine/include -W/TP -W/EHa -DAPT_USE_ANSI_IOSTREAMS -c C:/Ascential/DataStage/Projects/rdm/RT_BP42.O/V0S9_Chaining_logic_Join_Transform_Data.C -o C:/Ascential/DataStage/Pr...
- Wed Jan 11, 2012 5:17 am
- Forum: General
- Topic: XML output duplicate constraint
- Replies: 2
- Views: 1361
Re: XML output duplicate constraint
Mark a key column which is unique..
thanks.
thanks.
- Tue Jan 10, 2012 12:03 am
- Forum: General
- Topic: How to keep password out of the log?
- Replies: 8
- Views: 3014
- Mon Jan 09, 2012 12:35 am
- Forum: General
- Topic: How to keep password out of the log?
- Replies: 8
- Views: 3014
How to keep password out of the log?
If a unix script is called from an execute command activity, is there any way to not display the password in the director log? My script is sh /data/basel2dev/integration/scripts/displaysysdate.sh #Integration.$PrmDBIntgUser# "File Validation Script" "E004" "Unmatched file c...
- Tue Jan 03, 2012 5:24 am
- Forum: General
- Topic: Using Email notification activity can we send a HTML tags
- Replies: 4
- Views: 2037
By execute I mean render, See what I am trying to achieve here is to I want to format the output text which I am sending in the email body for eg if mail cotains alert notification need to show in bold or red color right now my mail text is containing HTML tags which i want to render which displayin...
- Tue Dec 27, 2011 4:54 am
- Forum: General
- Topic: Using Email notification activity can we send a HTML tags
- Replies: 4
- Views: 2037
Using Email notification activity can we send a HTML tags
Using Email notification activity can we send a HTML tags so I can get a mail as an HTML template. Currently I wrote an HTML code in Email notification activity but when I get a mail I can see all my tags and source code it has not been executed
Can you please suggest me the way how to do it.
Can you please suggest me the way how to do it.
- Mon Dec 19, 2011 1:11 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Logic Help
- Replies: 11
- Views: 6516
- Thu Dec 15, 2011 3:26 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Logic Help
- Replies: 11
- Views: 6516
- Thu Dec 15, 2011 12:37 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Logic Help
- Replies: 11
- Views: 6516