Search found 210 matches
- Mon Mar 23, 2009 2:57 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Deadlock condition when writing to SQL Server
- Replies: 6
- Views: 3311
Thanks Mike and Craig. I'd patterned my job after: http://etl-tools.info/en/datastage-tutorial-L008_scd-implementation-datastage.htm, and http://etl-tools.info/images/scd2-job-design.jpg which has two database stages, one to close out the old record and one to insert the new one. Perhaps it's my ext...
- Mon Mar 23, 2009 4:50 am
- Forum: General
- Topic: Lookup data in hashed file using a routine?
- Replies: 4
- Views: 1991
- Mon Mar 23, 2009 2:03 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Deadlock condition when writing to SQL Server
- Replies: 6
- Views: 3311
Deadlock condition when writing to SQL Server
Hi, I've got a job that's doing SCD2 processing. It's also reading a hash containing the EffectiveDate, SK, and CRC value 3 times in the job, plus writing to it once. Here is a picture of the job: http://docs.google.com/View?docid=dcdxxjr8_16dv4w7rgv&pageview=1&hgd=1&hl=en Hopefully the ...
- Sun Mar 22, 2009 7:27 pm
- Forum: General
- Topic: Lookup data in hashed file using a routine?
- Replies: 4
- Views: 1991
Lookup data in hashed file using a routine?
Sorry if this has been discussed before. I did search on "hashed file basic" and "hashed file routine" before posting. Is it possible to do a lookup against a hashed file in a routine? What I want to do is: SK = LookupDateSK(pInputDate,HashedFilePath) where pInputDate is derived ...
- Fri Mar 20, 2009 5:02 pm
- Forum: General
- Topic: Best practice to test BASIC code?
- Replies: 5
- Views: 2412
- Fri Mar 20, 2009 4:16 pm
- Forum: General
- Topic: how to pass the start timestamp of one job to another job
- Replies: 5
- Views: 2038
- Wed Mar 18, 2009 10:16 pm
- Forum: General
- Topic: Best practice to test BASIC code?
- Replies: 5
- Views: 2412
Best practice to test BASIC code?
1. How do you go about quickly developing and debugging your BASIC code before putting it in a job? What I'm currently doing is I've got a "dummy" routine with two arguments, Arg1 and Branch. If I need more arguments, I just compile them in the code rather than redefining the dummy routine...
- Wed Mar 18, 2009 4:20 pm
- Forum: General
- Topic: Can I write to /dev/null on a reject link?
- Replies: 7
- Views: 4526
I could swear I had a situation where I had a Rejected row link, another link (updating a hashed file) where the constraint was Not(REJECTED), and this was the last link, but was still getting output rows when the row was rejected by the database (violate null constraints). My job output links cons...
- Wed Mar 18, 2009 3:41 am
- Forum: General
- Topic: need to some clarification
- Replies: 2
- Views: 969
Welcome aboard. Probably easiest is to use sed as a filter command to change the two-character delimiter to a single character globally. I can recommend Perl, which is 1) free, and 2) (mostly) portable across Windows and Unix. Windows Perl can be downloaded here: http://www.activestate.com/activepe...
- Wed Mar 18, 2009 3:22 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to get Fiscal year from the date "2008-04"
- Replies: 10
- Views: 4870
- Wed Mar 18, 2009 3:12 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to get Fiscal year from the date "2008-04"
- Replies: 10
- Views: 4870
- Wed Mar 18, 2009 2:09 am
- Forum: General
- Topic: Copying routines across categories
- Replies: 1
- Views: 715
Copying routines across categories
Hi, Say we've got Routines categorized like: Routines AppName Utility Etc. Say we also want a category for routines under Development, say by each developer: Routines DEV Scott BillyBob Questions: 1) Is there a way I can copy a routine from one category to another? (Not apparent from the UI) 2) Sinc...
- Tue Mar 17, 2009 9:44 am
- Forum: General
- Topic: Can I write to /dev/null on a reject link?
- Replies: 7
- Views: 4526
- Tue Mar 17, 2009 9:10 am
- Forum: General
- Topic: Best practice for handling a large variable list
- Replies: 5
- Views: 2464
Seems like this is why you've asked about the RowMerger stage. One thought... perhaps array notation would be more managable and would get you the Value Marks automatically. Use ArrayName<-1> to push an element onto the end of the array in a loop. And if you end up needing a different delimiter, th...
- Tue Mar 17, 2009 8:25 am
- Forum: General
- Topic: Can the Row Merger stage concatenate a subset of the columns
- Replies: 6
- Views: 3534
I haven't used the RowMerger as much as the RowSplitter, but it might be worth looking at the history....these stages were not designed to perform any meaningful manipulation of the row (emphasis added) --- but to dynamically re-assign metadata (in memory) to an existing row that is coming down-str...