Search found 6797 matches

by DSguru2B
Fri Feb 23, 2007 8:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: job's previous run time
Replies: 4
Views: 895

If you want the timestamp in YYYY-MM-DD hh:nn:ss format then run the following

Code: Select all

dsjob -report <<PROJECTNAME>> <<JobName>> | grep -w "Job end time" | awk -F"\=" '{print $2}'
by DSguru2B
Fri Feb 23, 2007 7:58 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to convert records based on certian contents of records
Replies: 8
Views: 1957

I guess my explanation was'nt clear enough. Ray's explanation should put you to rest and answer your doubts.
by DSguru2B
Fri Feb 23, 2007 7:54 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: last field null chk fails
Replies: 10
Views: 1540

Looking at your data, it seems like that the last row is missing the final tab before the null value.
For nullable fields, give a null_value in the extended properties and constraint on that value.
by DSguru2B
Fri Feb 23, 2007 7:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Why dont we have look-up stage in Datastage Server jobs
Replies: 10
Views: 4746

Hashed file stage is present in server jobs for lookups.
by DSguru2B
Fri Feb 23, 2007 7:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Date format Error
Replies: 7
Views: 1917

Do a select and load it to a flat file, just a few records. See if the date comes up as integers (internal format). If yes then no conversion is required, pass it as it is.
by DSguru2B
Fri Feb 23, 2007 7:46 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: What is a Sparse Lookup in DataStage EE?
Replies: 15
Views: 35201

The post that I embeded has comments from our very best, Ray and Vincent. Adhere to their warning on when to use it, else there will be bottlenecks :!:
by DSguru2B
Thu Feb 22, 2007 9:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Execute Command Stage
Replies: 11
Views: 7446

What does the text file look like?
'SUCCESS' will be present in what column?
I presume the first column. Do Field() on the delimiter to get the first field and do comparison on that in your trigger expression.
by DSguru2B
Thu Feb 22, 2007 6:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Control Nulls
Replies: 5
Views: 1001

Welcome Aboard
You can use OS level commands to get rid of such characters. Search for sed one liners or tr one liners on google.
by DSguru2B
Thu Feb 22, 2007 5:49 pm
Forum: Site/Forum
Topic: DSGuru2B in 4000 post!!!
Replies: 6
Views: 3278

Thank you guys for the encouraging note.
And narasimha, not Brian2B, BrianIAM :wink:
Thats what Others seem to think anyways.
by DSguru2B
Thu Feb 22, 2007 5:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to Read Decimal Values from a sequential file
Replies: 6
Views: 2815

In the extended properties, specify it as a Nullable field which you must have already done, I am sure. Specify the null_value to 0.
by DSguru2B
Thu Feb 22, 2007 5:43 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DSU.ClearHashFile is not cataloged
Replies: 7
Views: 1867

Has this routine ever worked before? Also set it as a Transform Routine and then test it out. See if it works Ok. Once it doesn, you can set it back to before/after routine. Are you sure you compiled your routine?
by DSguru2B
Thu Feb 22, 2007 5:40 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: String to Datestamp challenges
Replies: 11
Views: 4255

Yea, the Julian Day error is odd. As Craig mentioned, do a LEFT(in.Col, 10) and then do StringToTimestamp() on that. Load it to a flat file and see what happens?
by DSguru2B
Thu Feb 22, 2007 5:38 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify Stage AND/OR Transformer Function
Replies: 29
Views: 4685

Are'nt you getting the right output? What are you getting?
by DSguru2B
Thu Feb 22, 2007 4:25 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Ececute Command - Parameter
Replies: 3
Views: 1085

Not in the executable path, but there is a seperate place to specify parameters. Its the second box in execute command stage.