Search found 42189 matches
- Sun Jul 23, 2006 8:15 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to have multiple conditions in unix
- Replies: 4
- Views: 1009
Chris, do you have any idea how difficult it would be to teach you how to do UNIX shell scripting here, one post at a time? I'd made a suggestion somewhere in one of these posts to talk to your SAs and I'll make it again. If not an SA, there must be some kind of scripting guru wherever you are worki...
- Sun Jul 23, 2006 8:07 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to count records in unix
- Replies: 8
- Views: 3854
- Sun Jul 23, 2006 8:05 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to get data before and after "/" in unix
- Replies: 6
- Views: 1196
You need to take what Ken gave you and understand what it does. Cut can work much like the DataStage Field function or substring depending on the options used. His specific example says that the fields are space delimited and he wants the third field. No sizes involved. Read the man pages. Get yours...
- Sun Jul 23, 2006 5:33 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to count records in unix
- Replies: 8
- Views: 3854
I don't think I've ever seen XML with delimiters like that, but regardless... Clarify exactly what you've got. Is it one long 'record' that you need to break apart around this three-character delimiter or something else? If you do a 'wc -l' on the file, does it return a 1? I don't recall any built i...
- Sun Jul 23, 2006 5:26 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: How to get data before and after "/" in unix
- Replies: 6
- Views: 1196
- Sat Jul 22, 2006 8:53 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: db2 timestamp to date conversion
- Replies: 7
- Views: 2778
Ok, point conceeded - if transcribed in a highly inaccurate manner. Here are some Server SDK samples: DateGenericToTimeStamp DateTimeStampToOraOCI DateTimeStampToOraOCIWithTime They all take an "SDK timestamp" which is "YYYYMMDD HH:MI:SS.TTT" format and something I never use. And I'm obviously misre...
- Sat Jul 22, 2006 8:45 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Trailing spaces don't get trimmed.
- Replies: 13
- Views: 3585
- Sat Jul 22, 2006 8:42 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Multiple Instances of jobs and logs
- Replies: 11
- Views: 4246
This is not possible with the current engine (which can only partition on key values, and the log table has a sequential integer key) but might be possible in Hawk. Not sure what you mean here, Ray. As noted earlier, it is perfectly feasible to get log entries for individual invocation ids using th...
- Sat Jul 22, 2006 8:32 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Reading date data from Oracle
- Replies: 1
- Views: 552
Re: Reading date data from Oracle
The same i have tested using a dynamic RDBMS it data is read if i use a to_char(field) in my query. You're saying that it works using an RDBMS stage but doesn't using some other unnamed stage. To be complete, rather than have people assume they know what the other stage is, how about you give some ...
- Sat Jul 22, 2006 8:17 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Trailing spaces don't get trimmed.
- Replies: 13
- Views: 3585
- Sat Jul 22, 2006 7:28 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Trailing spaces don't get trimmed.
- Replies: 13
- Views: 3585
The datatype is Varchar.so its not CHAR either. Ok, being picky here but datatype in DataStage does not guarantee the type in the database. You can't make an assumption based on the job that it must be a VARCHAR2 field in Oracle just because the job uses a Varchar. Check the actual Oracle field. Ob...
- Sat Jul 22, 2006 7:23 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Trailing spaces don't get trimmed.
- Replies: 13
- Views: 3585
TRIM(link.column) takes care of trailing and leading and repeating spaces if you want a simpler way. Actually, TRIM without the character specifier trims (per the manual) "spaces and tabs". Once you start using TRIMF and TRIMB, you cannot specify what to trim, so it does spaces and tabs. These two ...
- Sat Jul 22, 2006 7:08 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: db2 timestamp to date conversion
- Replies: 7
- Views: 2778
No, they're not. There are no Server SDK routines or Transforms with dots in their names. This is more like the typical PX function naming style, from what little I've seen, hence the question. If it's truly a Server job then it's a home grown routine. In any case, check the code and the internal do...
- Fri Jul 21, 2006 6:54 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Sybase and Oracle errors
- Replies: 27
- Views: 9465
No, that should cover it. Only one minor correction, not sure if it's critical or not but SYBASE_OCS should just be the version, AFAIK: SYBASE_OCS=OCS-12_5; export SYBASE_OCS And just for completeness, if you are on a mixed mode server, i.e. - one that can run 64bit or 32bit code - make sure you spe...
- Fri Jul 21, 2006 6:43 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Joining Hash File and Flat File
- Replies: 7
- Views: 2352