Welcome Aboard.
You need to add -job status somewhere in your dsjob command before giving the Project name. That will return you the true job status.
The possible return codes can be found in the Basic guide (.pdf) or clickhere.
Search found 6797 matches
- Wed Jan 10, 2007 7:50 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: dsjob returns 141, when does this happen?
- Replies: 7
- Views: 4177
- Wed Jan 10, 2007 7:40 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Issue storing value from a job
- Replies: 3
- Views: 791
- Wed Jan 10, 2007 7:38 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Unique Sequence Number Generation In DataStage
- Replies: 11
- Views: 12843
- Wed Jan 10, 2007 7:33 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: creating a composite column
- Replies: 6
- Views: 1469
- Tue Jan 09, 2007 10:59 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Rountine to return delimited list of JOBNO in project
- Replies: 25
- Views: 6831
- Tue Jan 09, 2007 10:43 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: creating a composite column
- Replies: 6
- Views: 1469
No stage variables. Again use the concatenation method.
If your Col4 is varchar, nothing more is needed, if its integer then either use AsInteger or StringToInteger() to convert the concatenated string to integer.
Code: Select all
In.Col1:In.Col2:In.Col3
If your Col4 is varchar, nothing more is needed, if its integer then either use AsInteger or StringToInteger() to convert the concatenated string to integer.
- Tue Jan 09, 2007 10:29 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Error Table, Log table
- Replies: 8
- Views: 1694
- Tue Jan 09, 2007 10:26 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Warning on a decimal field
- Replies: 1
- Views: 500
- Tue Jan 09, 2007 10:23 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: separating data with hyphens
- Replies: 8
- Views: 1139
- Tue Jan 09, 2007 10:13 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: separating data with hyphens
- Replies: 8
- Views: 1139
- Tue Jan 09, 2007 10:11 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Rountine to return delimited list of JOBNO in project
- Replies: 25
- Views: 6831
In your above routine use this and get rid of everything after your DSExecute() command.
Code: Select all
Ans = Convert(@FM, ",", JobNoList)
- Tue Jan 09, 2007 10:05 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: separating data with hyphens
- Replies: 8
- Views: 1139
- Tue Jan 09, 2007 9:42 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Date
- Replies: 16
- Views: 4762
- Tue Jan 09, 2007 8:35 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: lookup with multiple columns
- Replies: 31
- Views: 8721
Sure. Read a record from your source file, get the first column, find all records that match that col1 in the second file, lets call it dbfile. Now take one row at a time and do check each and every column, if all columns match well and good, write it to your output file, if not then check if the fa...
- Tue Jan 09, 2007 8:28 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Replace a character in a String
- Replies: 7
- Views: 11585