Search found 210 matches
- Tue Apr 07, 2009 8:51 pm
- Forum: General
- Topic: How to detect end of file
- Replies: 2
- Views: 1420
How to detect end of file
(I did search before posting...if I've missed it just tell me the text to search for...) Seq file --> xfm --> Seq file xfm has the constraint: NewKey NewKey is determined by RowProcCompareWithPrevValue. All is good except for the last record in the file. Does DS provide a variable for EOF condition?...
- Mon Apr 06, 2009 5:29 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Exiting loop without aborting job
- Replies: 11
- Views: 4292
- Mon Apr 06, 2009 5:13 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Exiting loop without aborting job
- Replies: 11
- Views: 4292
- Fri Apr 03, 2009 2:53 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: job status
- Replies: 13
- Views: 7667
Yes you can; in a trigger expression it's clearer to use OR conjunction. Matches was just easier to input Hardly the best criteria for making the decision regarding which one to use. :wink: OK...honestly...on this one, I'm not understanding why this isn't a good approach? I could code: MyActivity.$...
- Fri Apr 03, 2009 3:00 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: job status
- Replies: 13
- Views: 7667
- Thu Apr 02, 2009 11:45 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: job status
- Replies: 13
- Views: 7667
- Thu Apr 02, 2009 7:29 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Stage executing even when constraint is false
- Replies: 4
- Views: 1388
- Thu Apr 02, 2009 6:42 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Stage executing even when constraint is false
- Replies: 4
- Views: 1388
Stage executing even when constraint is false
Hi, My job design looks like: DRS Stage --> xfm -- <Insert> --> DRS1 | | <Initialize> | V DRS2 DRS1 and DRS2 are the same table. DRS1's constraint is: JobParm = 0 DRS2's constraint is: JobParm = 2 i.e. they are mutually exclusive. The DRS2 stage does a "truncate then insert rows". There ar...
- Thu Apr 02, 2009 5:07 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: job status
- Replies: 13
- Views: 7667
- Wed Apr 01, 2009 11:38 pm
- Forum: General
- Topic: Issue with KeyMgtGetNextValue routine
- Replies: 3
- Views: 1768
- Wed Apr 01, 2009 5:27 pm
- Forum: General
- Topic: Issue with KeyMgtGetNextValue routine
- Replies: 3
- Views: 1768
Issue with KeyMgtGetNextValue routine
There is IMO a minor issue with the out of the box KeyMgtGetNextValue and KeyMgtGetNextValueConcurrent routines. Here is an excerpt: * Read the named record from the file. * This obtains the lock (waiting if necessary). Readu NextVal From SeqFile, Arg1 Else NextVal = 1 End Ans = NextVal NextVal = Ne...
- Wed Apr 01, 2009 3:53 am
- Forum: General
- Topic: Getting current value from SDKSequences
- Replies: 2
- Views: 1319
Getting current value from SDKSequences
In Routines\SDK\KeyMgt, we have KeyMgtGetNextValue and KeyMgtGetNextValueConcurrent, but no KeyMgtGetCurrentValue (i.e. no increment). Is this as simple as creating a transform such as: UtilityHashLookup("SDKSequences",<desired key>,"") It needs to run concurrently, but is just a...
- Tue Mar 31, 2009 8:50 pm
- Forum: General
- Topic: Where is DS_JOBS documented?
- Replies: 5
- Views: 9986
- Tue Mar 31, 2009 8:16 pm
- Forum: General
- Topic: Where is DS_JOBS documented?
- Replies: 5
- Views: 9986
- Tue Mar 31, 2009 8:09 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Substring problem
- Replies: 12
- Views: 3563
1. I've coded it such that NO arguments are required - whether that's good is another discussion, since that deviates from the requirements for Field: A) If pString is empty, return empty. If pString is null, return null B) If pDelimiter is empty, return pString. C) If pOccurence is empty, default t...