Search found 42189 matches

by chulett
Tue Aug 31, 2004 8:39 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Implement Header/Detail/Footer loop in a Fixed Width File
Replies: 6
Views: 2261

richdhan wrote:In which case how would I define the metadata of the target hash file.

I'd suggest building your complete formatted output record and then putting it in the hash as a single "data" field of a fixed length.
by chulett
Tue Aug 31, 2004 7:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Hash File Usage Analysis
Replies: 13
Views: 2828

Why would you "not believe" in the UNIX date? :? Which ones are you checking? I'd suggest (assuming dynamic hash) dropping into the hash directory and checking the dates on the DATA.30 and OVER.30 files themselves.
by chulett
Mon Aug 30, 2004 8:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Char to Date Datatype
Replies: 2
Views: 1106

Phillip, this is exactly what Ken told you to do last week in your first post with this question. No 'OConv' needed as the DB2 stage expects the date in internal format.
by chulett
Mon Aug 30, 2004 4:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Line Terminators
Replies: 4
Views: 2182

You need to remove the terminators before you land the data. Probably the simplest way is to use the Ereplace function to either turn them into spaces or remove them all together. Depending on if you are removing LFs or CR/LF pairs (or whatever), you could do it a couple of different ways: EReplace...
by chulett
Mon Aug 30, 2004 3:50 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Multiple statements in derivation
Replies: 8
Views: 1799

I would think there should be some way of calling multiple statements in a transformer derivation. I would be surprised if I cant. Surprise! You can't. At least not in the derivation directly. If you need to do something like that - create a custom routine and, as I said, pass back out the value yo...
by chulett
Mon Aug 30, 2004 3:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Multiple statements in derivation
Replies: 8
Views: 1799

Re: Multiple statements in derivation

I would like to call a function as well as pass a value through at the same time. You can't, at least not like that. What does your function do?? Can you modify it so that one of the input arguments is the value you want to "pass through" and return that as the Ans? Either that or let us know what ...
by chulett
Mon Aug 30, 2004 7:42 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: To retain only desired data rows after a Pivot
Replies: 5
Views: 2427

Hold it in a Stage Variable and only increment it under the same conditions that you use to pass out a row.
by chulett
Mon Aug 30, 2004 7:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Implement Header/Detail/Footer loop in a Fixed Width File
Replies: 6
Views: 2261

Sure, it's just more fun. FWIW, I usually do your "Single Supplier" scenario in one job, making use of multiple streams and aggregators to produce the individual files and then cat them together after job. What I've done in the past for your other situation is to stage intermediate results into a Ha...
by chulett
Mon Aug 30, 2004 7:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: job fails to do oracle select... extraction into sequential
Replies: 3
Views: 903

Not really. I've seen times where it would say that it was starting and then nothing. The outermost Status view would not change, still showing the last successful run stats, but inside you'd see the new starting info and then nothing. That was a bug, apparently. This... Are you managing your Phanto...
by chulett
Sun Aug 29, 2004 5:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: jobs halts
Replies: 3
Views: 1085

Did you find a solution as well, or just the problem?
by chulett
Sat Aug 28, 2004 9:15 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Can i Write Data into Hash File through Routine or Any Job?
Replies: 1
Views: 638

Well, you could write a simple job to read from a sequential file and write to your hash. Build the file with as many records as you wanted to load.
by chulett
Fri Aug 27, 2004 1:10 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Single Line Text File
Replies: 1
Views: 1294

You marked this as Server but posted it where PX questions are normally posted, so I'll answer from a Server standpoint. No clue if the answer changes for PX. Simply mark the file as "Fixed Width" in the Sequential File stage and tell it that "Line Termination" style is "none". It will then use your...
by chulett
Fri Aug 27, 2004 1:04 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: ETL date range between join
Replies: 3
Views: 1386

Is this like... a quiz, Kim? :lol:
by chulett
Thu Aug 26, 2004 9:00 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DRS stage and user defined SQL (update stmt)
Replies: 5
Views: 3891

The other classic problem you are running into is trying to use different sets of columns in the same link, which is only an issue when you switch to User Defined SQL. If you have 18 columns defined in your link, you must have parameter markers for all 18 columns in the SQL statement. If you need to...
by chulett
Thu Aug 26, 2004 8:44 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Permission Denied while executing DSSendMail
Replies: 21
Views: 6397

They've added something. Now I'm wondering if this problem may be specific to HP/UX. I'd be curious if anyone out there is using 7.5 on UNIX platforms (HP or otherwise) and is not having or did not have any problems with sendmail? Did you need to do anything different with this version to get it to ...