Search found 6797 matches

by DSguru2B
Tue Mar 13, 2007 1:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reading using FTP Stage - Need to improve performance
Replies: 8
Views: 2164

I doubt it. I suspect the Ebcidic to Ascii conversion is the bottleneck. For testing, ftp the file, without any transformations, just a straight load to a flat file.
by DSguru2B
Tue Mar 13, 2007 1:09 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: type conversion
Replies: 8
Views: 1091

Great. Mark the post as resolved then.
by DSguru2B
Tue Mar 13, 2007 12:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sequence generation in Datastage
Replies: 4
Views: 986

Do a select max(key) from table and store it in a hashed file keyed on a dummy key say "X". INside the transformer, specify a stage variable and in the initial value of stage variable, call UtilityHashLookup() routine and get the max value. You can then keep adding @INROWNUM to it to get the next se...
by DSguru2B
Tue Mar 13, 2007 12:06 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: to run a job before the exit of sequencer
Replies: 10
Views: 2721

If you are on 7.5x then you must be having exception handler. Connect Job A to it. See how exception handler works.
by DSguru2B
Tue Mar 13, 2007 12:05 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: type conversion
Replies: 8
Views: 1091

Becuase 000000 is not null. Look for '00000000', if found, set to null, else apply the StringToDate() function.
by DSguru2B
Tue Mar 13, 2007 11:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: InvocationId in Job control
Replies: 4
Views: 1575

Invocation id could be anything. A running number maybe. You could use loop until to loop through the job passing a running number each time. And exit the loop when the running number equals 5.
by DSguru2B
Tue Mar 13, 2007 11:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sequence generation in Datastage
Replies: 4
Views: 986

What do you mean by "pick the sequences" ? Do you mean "Get the max" so that you can continue from there or "continue generating sequence in oracle" ?
by DSguru2B
Tue Mar 13, 2007 10:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: call DSGetLinkInfo from a trigger
Replies: 19
Views: 7422

I doubt the job handle "DSJ.ME" will work there. I am not too sure about that. If thats the case, you will have to write a small routine that creates a handle for that particular job and then gets the Row count for that particular link and returns that value.
by DSguru2B
Tue Mar 13, 2007 10:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Variable "APT_AUTO_TRANSPORT_BLOCK_SIZE" missing
Replies: 14
Views: 6897

What happens when you remove the -wait and just put -jobstatus?
by DSguru2B
Tue Mar 13, 2007 10:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: call DSGetLinkInfo from a trigger
Replies: 19
Views: 7422

Where are you giving that expression? Inside a job or job activity in a sequence job?
by DSguru2B
Tue Mar 13, 2007 10:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: skip a job in sequencer
Replies: 4
Views: 1798

Better yet. Make a copy of your present job, delete Job2, connect job1 to job3. Once your done debugging. Run your original end to end sequence. This way your debugging is done and your sequence remains untouched.
by DSguru2B
Tue Mar 13, 2007 10:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: type conversion
Replies: 8
Views: 1091

Provide

Code: Select all

StringToDate(DSLink9.A,"%yyyy%mm%dd") 
by DSguru2B
Tue Mar 13, 2007 10:39 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: type conversion
Replies: 8
Views: 1091

What is the derivation that you are providing? Post all methods you have tried, specifically the format you are giving for the conversion.
by DSguru2B
Tue Mar 13, 2007 10:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: retrun value from Execute command to shell
Replies: 1
Views: 558

Well the way I see it, you can do it in two different ways
A) Call the second script from within your master script.
B) Let your second script spit out the table name to a file. cat the file from your master script.
by DSguru2B
Tue Mar 13, 2007 10:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date conversation
Replies: 17
Views: 4580

The format was messed up. Use the following: For #1 StringToDate(DecimalToString(YearFromDate(CurrentDate())-1):"-12-01", "%yyyy-%mm-%dd") For #2 If MonthFromDate(CurrentDate()) = 1 then StringToDate(YearFromDate(CurrentDate...