Search found 107 matches
- Thu Aug 04, 2011 12:55 pm
- Forum: General
- Topic: Passing current date to to Job Parameter
- Replies: 13
- Views: 5817
- Tue Aug 02, 2011 3:11 pm
- Forum: General
- Topic: Passing current date to to Job Parameter
- Replies: 13
- Views: 5817
- Tue Aug 02, 2011 11:29 am
- Forum: General
- Topic: Passing current date to to Job Parameter
- Replies: 13
- Views: 5817
Passing current date to to Job Parameter
I am trying to implement what Ray suggested here but looks like I am missing a lot things. I have a server job and in the Job Control tab of the server Job Properties, I have the following code ErrCode = DSSetParam(ParallelJob, "Year", "2011") where ParallelJob is the name of the...
- Wed Jul 27, 2011 2:39 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Joining a sequential file and a data set
- Replies: 5
- Views: 6615
- Wed Jul 27, 2011 7:25 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Joining a sequential file and a data set
- Replies: 5
- Views: 6615
Sura, [quote]Try to recreate the dataset again with the key column and try it again. I misread your suggestion yesterday. So, when creating the dataset, I changed the key column name to the column name that would be used in the joiner. I read the dataset again and use it in the joiner and it works f...
- Wed Jul 27, 2011 6:40 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: New column declared as integer; value stored as string
- Replies: 8
- Views: 1777
- Tue Jul 26, 2011 3:24 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Joining a sequential file and a data set
- Replies: 5
- Views: 6615
I must also add this. The column 'TRAVEL_ID' is stored under a different name when writing to the data set. When I again read the data set, I read the corresponding column to 'TRAVEL_ID'. I did the same renaming when reading the sequential file and the joiner worked fine. I also tried reading the da...
- Tue Jul 26, 2011 3:12 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Joining a sequential file and a data set
- Replies: 5
- Views: 6615
Joining a sequential file and a data set
Hello, I used a Join Stage to join two sequential files based on a common column and it worked fine. One of the sequential files was replaced by a data set and loaded with the same data (same column names and data types, length) but now I get the following error when the job is run: subArgs={asc}}}:...
- Tue Jul 26, 2011 2:43 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: New column declared as integer; value stored as string
- Replies: 8
- Views: 1777
Removing the quotes option from the Field Defaults category on the Format tab in the sequential file stage fixed the problem. James, I believe the integers were stored as integer but were enclosed in strings. How do you check the hex code of the file? I believe looking at the hex code gives you the ...
- Tue Jul 26, 2011 2:40 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Need help on grouping and selecting the first record
- Replies: 7
- Views: 2201
- Thu Jul 21, 2011 1:24 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Need help on grouping and selecting the first record
- Replies: 7
- Views: 2201
- Wed Jul 20, 2011 3:40 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Need help on grouping and selecting the first record
- Replies: 7
- Views: 2201
I was looking into the thread below: http://www.dsxchange.com/viewtopic.php?t=119708 The input is sorted based on 15 keys and I was trying to implement the following transformer logic suggested by Chulett: svCurrGroup derivation = KEY1 : KEY2: ...KEY15 svIsNewGroup derivation = svCurrGroup <> svPrev...
- Wed Jul 20, 2011 3:20 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: New column declared as integer; value stored as string
- Replies: 8
- Views: 1777
- Wed Jul 20, 2011 2:26 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: New column declared as integer; value stored as string
- Replies: 8
- Views: 1777
- Wed Jul 20, 2011 1:53 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: New column declared as integer; value stored as string
- Replies: 8
- Views: 1777
New column declared as integer; value stored as string
We have an integer value as input in one of the columns. We declare a new column as an integer in the Transformer stage and perform some basic if-then-else logic on the incoming integer column and store an integer in the newly declared interger column of the Transformer stage. The problem is this in...