Search found 116 matches

by prasannakumarkk
Tue Mar 19, 2013 2:57 am
Forum: General
Topic: Controlling the execution of Jobs in Datastage Sequence
Replies: 6
Views: 2930

Specifying any in sequencer will hold good i guess;
by prasannakumarkk
Mon Mar 18, 2013 11:38 pm
Forum: General
Topic: Controlling the execution of Jobs in Datastage Sequence
Replies: 6
Views: 2930

Can be like this Extract --> Nested Condition -->Transform A1 --> Transform A2 --> Seqeuncer(All) --> Load --> Transform AN In the nested condition activity, in the expression you can give the condition of country code. The above design run the jobs in parallel. If the transformation logic is same b...
by prasannakumarkk
Sun Mar 17, 2013 11:35 pm
Forum: General
Topic: How to Read zip file ?
Replies: 9
Views: 4442

Can you please specify what type of file it is. Fixed length or delimited. What is the total length of all columns? Do all the records in the file have this length. Specify all the property mentioned in format tab. Also try specifying "Number of readers per node" propery in sequential file...
by prasannakumarkk
Sat Mar 16, 2013 8:37 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: overwritting all .dat,.ctl,.bad,.log file
Replies: 2
Views: 2121

in the sqlldr command you have the option of specifying where the dat, log file should be written with file name.

While specifying the file name in the option append the value of macro DSJOBSTARTTIMESTAMP. So each time new file will be created
by prasannakumarkk
Sat Mar 16, 2013 8:17 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data manipulation logic
Replies: 18
Views: 7610

Am not sure whether you checked this environment variable APT_TRANSFORM_COMPILE_OLD_NULL_HANDLING and replied.
by prasannakumarkk
Sat Mar 16, 2013 11:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data manipulation logic
Replies: 18
Views: 7610

If you are in 8.5 and still null is not handled by stage variable then, as IBM says Backward Compatibility Set APT_TRANSFORM_COMPILE_OLD_NULL_HANDLING=1, as a user-defined environment variable, to use the previous null handling mechanism at the project level OR Use the check box per Transformer Stag...
by prasannakumarkk
Sat Mar 16, 2013 9:15 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data manipulation logic
Replies: 18
Views: 7610

Your post is making me to explore more. :D
From 8.5 null is handled in stage variables.
http://www-01.ibm.com/support/docview.w ... wg21514921
by prasannakumarkk
Sat Mar 16, 2013 9:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data manipulation logic
Replies: 18
Views: 7610

reading this post will make you understand more.
by prasannakumarkk
Sat Mar 16, 2013 8:48 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data manipulation logic
Replies: 18
Views: 7610

stage variables dont handle null values properly in px transformer. So give it as blank. When it works, then in the column expression you can use SetNull() for blank. Just give a try. I read the entire logic i see a gap only here. Or else try this - in the stage variables property intialize the stag...
by prasannakumarkk
Sat Mar 16, 2013 12:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data manipulation logic
Replies: 18
Views: 7610

Please try the derivation as like below and check whether blank is getting populated.

Code: Select all

If inp.SOURCE_FLAG  = 'M' Then   
   (If inp.CODE = '1' then inp.m_Cost_a Else ' ')
       Else ' '
by prasannakumarkk
Fri Mar 15, 2013 2:54 am
Forum: General
Topic: How to Read zip file ?
Replies: 9
Views: 4442

In the before job subroutine use gzip or any other zip utility command and unzip the file. Then read the sequential file. You cannot read the zip file directly. If it is there, then it is a grt surprise for me.
by prasannakumarkk
Fri Mar 15, 2013 1:14 am
Forum: General
Topic: looping jobs
Replies: 13
Views: 5400

OK from the sequencer pass the file name as paramter to a job where we have the connector stage. In the after/before sql call the update statement

update table_name set status='yes' where file_name = #pFileName#
by prasannakumarkk
Fri Mar 15, 2013 12:55 am
Forum: General
Topic: looping jobs
Replies: 13
Views: 5400

Before we write the query, wont the file name and unique id have one to one mapping. If not, how you will find the unique id?
by prasannakumarkk
Thu Mar 14, 2013 10:53 am
Forum: General
Topic: Design scenario for calling sequence multiple times
Replies: 9
Views: 4267

So one more question at what frequency this unique identifier can be reset. If it is for a run: 1) You can have a user variable activity side the loop and increment it. Guess there will be more better solution than this If it has to be unique over a period of time, you have to use a external sequenc...
by prasannakumarkk
Thu Mar 14, 2013 10:19 am
Forum: General
Topic: Design scenario for calling sequence multiple times
Replies: 9
Views: 4267

You mean within in the loop you have to pass more than one parameter and that too differently?
Tell number of parameters and what are those.