Search found 15603 matches

by ArndW
Wed Aug 13, 2008 4:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: name some of the Routines to be used in PX jobs
Replies: 5
Views: 2121

The routines commonly used for (1), (2), (3), (4) are:
DSAttachJob(), DSDetachJob(), DSGetJobInfo(), DSGetStageInfo(), DSGetLinkInfo().
I don't know what (5) and (6) mean, so cannot answer that.
by ArndW
Wed Aug 13, 2008 3:17 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Record <>in file DS_ROUTINES is read-only and cannot b
Replies: 4
Views: 1279

Is this a protected project or a system routine? If so, it is best not to try to rename it. If you export this routine, then edit the .dsx export file and change the readonly attribute and then re-import it you will have effectively changed the status and can then rename it.
by ArndW
Wed Aug 13, 2008 3:16 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQL Server Enterprise Stage - Reject Records
Replies: 3
Views: 798

This would be an ideal place to use the type of functionality implemented in such stages as "Change Capture", "difference", or "Slowly Changing Dimension".
by ArndW
Wed Aug 13, 2008 3:04 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: name some of the Routines to be used in PX jobs
Replies: 5
Views: 2121

sreedharmsc - Your query is so susupiciously like an interview question that you will most likely not get any responses. If you illustrate what you are looking for in more detail then someone will certainly answer.
by ArndW
Wed Aug 13, 2008 1:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Replacing Mutlibyte characters to Single byte characters
Replies: 9
Views: 2833

Are you on a MPP or grid or on a single machine? If you are in a distributed environment then you are correct in your restriction. I don't know the c++ function akin to ByteLen(), I think I couldn't find one and then decided to do the whole think in a BASIC transform stage.
by ArndW
Wed Aug 13, 2008 12:47 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job control fatal error (-4)
Replies: 18
Views: 4768

Attu - now you have proven that the DataStage error was, in fact, correct. But your file inconsistancy still exists. Clearing the log file (from the director, not from the TCL prompt) should do the trick for you.
by ArndW
Wed Aug 13, 2008 12:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Replacing Mutlibyte characters to Single byte characters
Replies: 9
Views: 2833

The BASIC transform stage will suit you just fine, it will run on as many nodes as your job does. We recently had to do something similar and instead of writing a buildop we used a BASIC stage and ByteLen() to determine actual string sizes with multibyte characters.
by ArndW
Tue Aug 12, 2008 10:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Parameter Sets- Not passing value to jobs from sequence
Replies: 8
Views: 3739

Parameter sets can be tricky to work with. In our current project we've seen such value propagation problems and seen that there are known issues, but if I recall correctly we encountered issues when using parameter set values in shared and local containers, not from a sequence calling a job. How ar...
by ArndW
Tue Aug 12, 2008 8:41 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Mail Alert
Replies: 1
Views: 682

Here's one approach of many. Call your PX job from a sequence, in the sequence have a transformer which has a constraint on an output link to only output when the value exceeds your limit and write this to a sequential file. Then, in the calling sequence check to see if the file has a length longer ...
by ArndW
Tue Aug 12, 2008 7:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: expecting 1 segments, read 2 segments
Replies: 15
Views: 4333

Is the dataset always being opened in "append" mode?
by ArndW
Tue Aug 12, 2008 6:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Difference between Server and Parallel Jobs
Replies: 5
Views: 12592

Generally PX jobs run with more throughput but take more time to develop. Let's take an example job that takes 3 days to develop in PX and runs in 10 minutes and the same job would take 1 days to develop in Server but runs for 60 minutes. Which is better? If the job runs 10x a day and is part of a c...
by ArndW
Mon Aug 11, 2008 10:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job control fatal error (-4)
Replies: 18
Views: 4768

The most likely reason is that the job log is corrupted. If you don't need the information a "clear log" might fix the error.
by ArndW
Mon Aug 11, 2008 9:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DSJE_DSJOB_ERROR
Replies: 12
Views: 8966

What happens if you enter the command as "dsjob" and parameters as "-run -mode NORMAL -param paramRecLmt = 10 DEV TestdsjobExecute
"
by ArndW
Mon Aug 11, 2008 9:06 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Cannot connect datastage, errors 39202 and 80011
Replies: 11
Views: 14884

as user "dsadm", go to your $DSHOME, source the dsenv file and enter "bin/dssh". You will get a ">" prompt, enter "LOGTO vodafone". What happens? (You exit out of TCL with the "QUIT" command).
by ArndW
Mon Aug 11, 2008 7:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to subtract between two timestamps in datastage server
Replies: 2
Views: 5437

Too add some detail to what Craig has illustrated, you can convert a timestamp into a number of seconds by using (ICONV(In.Timestamp[1,11],'D4-DMY[2,3,4]')*24*60*60)+(ICONV(In.Timestamp[13,8],'MTS'))+(In.Timestamp[22,3]/1000) Do this for the other timestamp, s...