Search found 15603 matches

by ArndW
Sat Jul 07, 2007 2:09 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date Validations in Datastage
Replies: 34
Views: 20353

ArndW wrote:...You will see that your format is wrong, it should be "D2/DMY[2,2,2]"...
by ArndW
Sat Jul 07, 2007 2:07 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting the Jobs list in the Export file
Replies: 6
Views: 1705

Craig - hmm, I could have sworn I read that the original requestor just wanted a count. Oh well, it would be a bit of BASIC code or perl to locate the BEGIN DSJOB line and the extract the quoted text from the following line.
by ArndW
Sat Jul 07, 2007 2:02 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Creating 64 bit hash file
Replies: 23
Views: 5341

I usually prefer to create a new 64BIT file with a minimum.modulo and then copy the original data over. This leaves me more comfortable with going away and having lots of coffee or a dinner and a movie while the file is being loaded. The issue with the RESIZE is that the file gets locked and if some...
by ArndW
Sat Jul 07, 2007 1:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Load Vs Upsert in Oracle Enterprise Stage
Replies: 5
Views: 2002

You probably have it but can't find it. Sometimes "find" doesn't locate files the way it should. I can't remember where those files are created, but would think somewhere in the Oracle directory tree. You will need to search around a bit - perhaps look for "ora*.log" to locate the correct directory.
by ArndW
Sat Jul 07, 2007 1:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Data set stage question
Replies: 6
Views: 1222

Re: Data set stage question

...But when i run them from sequencer, the datasets are not updated with correct/latest information... What is your timing in the sequencer, you should have the completion of the first job trigger the next; it seem that you are not doing this and thus might be getting a copy of the old datasets bef...
by ArndW
Sat Jul 07, 2007 1:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: HOw to restore the cleanup project files???
Replies: 11
Views: 1936

Just so I understand what you tried, you have a .dsx export file and now you call up the import datastage components tab in the manager, and select the "import selected" tab. You then get a screen where you can select the job(s) to import and after you select the one job to restore you then get an e...
by ArndW
Fri Jul 06, 2007 2:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Number of processors used
Replies: 8
Views: 2372

Often a 1-node configuration will run better than a 2 or 4 node configuration. It is hard to know which level of parallelism will result in best performance in a production environment. My approach is: a) Always design with a 2 (or more) node configuration. This ensures that your lookup and other pa...
by ArndW
Fri Jul 06, 2007 2:19 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: getting the timestamp value of executable file
Replies: 5
Views: 1297

You can get the job number by issuing the TCL or Admin command "SELECT JOBNO FROM DS_JOBS WHERE NAME EQ '{jobname}'", then go into the subdirectory RT_SC{jobno} and look at the UNIX date/time created stamps on the files in there. Offhand I can't recall the names, but I think the file OshScript.osh w...
by ArndW
Fri Jul 06, 2007 2:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date Validations in Datastage
Replies: 34
Views: 20353

using the format OCONV(ICONV(DSLink9.Field003,"D2-DMY[2,2,2]"),"D2-YMD[4,2,2]"):" 00:00:00.000" on "31/09/07" cannot result in an output of "Ist October 2007". Go into the Manager and create a new server routine. Put in one line into the program Ans=ICONV(Arg1,"D2-YMD[4,2,2]") and ...
by ArndW
Fri Jul 06, 2007 2:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Creating 64 bit hash file
Replies: 23
Views: 5341

Do you get the same error when typing "RESIZE MyHashFile * * *"? Can you do a "COUNT MyHashFile USING DICT VOC"?
by ArndW
Fri Jul 06, 2007 2:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: comparing two alpha numeric strings?
Replies: 2
Views: 844

Sure, try "String1=String2" :)

String comparisons are commonly used in DS, so unless you narrow down your question you won't get more than a generic answer.
by ArndW
Fri Jul 06, 2007 2:01 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting the Jobs list in the Export file
Replies: 6
Views: 1705

I'm not at a machine with an export file, but I think

Code: Select all

cat {file.dsx} | grep BEGIN DSJOB | wc -l
should do the trick
by ArndW
Thu Jul 05, 2007 11:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Routine returning weired value for calculating factorial
Replies: 16
Views: 4497

rumu - you have an "urgent" problem yet will not think about joining DSXchange for a mere pittance? And then you request that Ray disclose premium content? That is an odd way of looking at the benefit or value of this forum.
by ArndW
Thu Jul 05, 2007 11:07 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date Validations in Datastage
Replies: 34
Views: 20353

As I mentioned before in this thread, you would need to write a routine in order to use the STATUS() value for an ICONV() or OCONV() call.
Which format did you use on "31/09/07"?
by ArndW
Thu Jul 05, 2007 9:22 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Process id, how to find for a particular job
Replies: 10
Views: 3348

devidotcom wrote:kill -9 PID

Use the above command. But please don't kill any process as mentioned to you earlier. This was for FYI.


NEVER do a kill -9 {pid} for DataStage processes unless all other options have been tried.