Search found 42189 matches
- Thu Jun 17, 2004 6:30 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Executing unix script via "Execute Command" in seq
- Replies: 15
- Views: 8845
Wow - thanks for all the input. I'm not convinced though that the parameters aren't being recognized -or translated- in the execution of the script since the echo statements I already have in there echo back the correct values of the parameters I'm sending it. Really? $CB and $PT echo out correctly...
- Wed Jun 16, 2004 7:56 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Stage variable in sequential file name
- Replies: 13
- Views: 8720
That brings us to the question, how can we pass a value in a transformer, for example, value contained in a stage variable to a newly created job parameter in the middle of a job and use that in the sequential file name box? It's been said already and I'll just add to the chorus - you can't. The na...
- Wed Jun 16, 2004 4:06 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Executing unix script via "Execute Command" in seq
- Replies: 15
- Views: 8845
- Wed Jun 16, 2004 2:47 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Executing unix script via "Execute Command" in seq
- Replies: 15
- Views: 8845
- Wed Jun 16, 2004 2:22 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Unable to capture Reject Record
- Replies: 5
- Views: 2099
- Wed Jun 16, 2004 1:52 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Need to capture a running total at the end of a transform
- Replies: 18
- Views: 5482
- Wed Jun 16, 2004 1:42 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Need to capture a running total at the end of a transform
- Replies: 18
- Views: 5482
- Wed Jun 16, 2004 1:41 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Unable to capture Reject Record
- Replies: 5
- Views: 2099
- Wed Jun 16, 2004 1:08 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Which Jobs Load Hashed Files?
- Replies: 15
- Views: 4413
- Wed Jun 16, 2004 7:17 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Reading a seq file and use the content into a SQL
- Replies: 4
- Views: 1092
Which part do you need help with? Your 'Contents of the sequential file' becomes a Job Parameter and is used in the OCI stage just like Ray illustrated in his first example - surrounded by pound signs (#) in the where clause. You'll need something, typically a piece of Job Control code, to read the ...
- Wed Jun 16, 2004 7:06 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Difference between Clear and Truncate
- Replies: 5
- Views: 2637
- Wed Jun 16, 2004 7:04 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Problems with dates
- Replies: 9
- Views: 4822
The simplest 'trick' to get the last day of a month is to still set the day portion to '01' like you do for the first day. Then, bump the month to the next month and increment the year if you need to as well. Then subtract 1 day. For example: 200405 -> 2004-05-01 -> 2004-06-01 -> 2004-05-31 In DataS...
- Wed Jun 16, 2004 6:51 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: join conditions on target columns
- Replies: 5
- Views: 1616
I would think you should be able to build three hash files and check them in order to get the data you need. Both of your conditions, where you either get one row or more than one row, can be satisfied by the hash by taking advantage of its 'destructive overwrite' behaviour - bring the keys in in de...
- Tue Jun 15, 2004 9:15 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Empty Source File
- Replies: 9
- Views: 2839
- Tue Jun 15, 2004 9:13 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Empty Source File
- Replies: 9
- Views: 2839
Put this at the top of your routine:
Or more properly:
Code: Select all
$INCLUDE DSINCLUDE JOBCONTROL.H Or more properly:
Code: Select all
$IFNDEF JOBCONTROL.H
$INCLUDE DSINCLUDE JOBCONTROL.H
$ENDIF