Search found 42189 matches

by chulett
Tue Feb 16, 2010 6:28 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Looping logic based on multiple conditions to end loop
Replies: 11
Views: 4393

What would need to happen if you ran out of data files and you hadn't seen this control file yet? Keep looping and doing nothing, assuming that more files will be coming? If so, that's going to severely complicate the job design for you. Why not wait for the control file to arrive using the Wait For...
by chulett
Tue Feb 16, 2010 6:22 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting the total number or records from a dataset
Replies: 11
Views: 4923

It usually means you didn't source the dsenv file. Can you show us the actual command you ran to do that?
by chulett
Tue Feb 16, 2010 6:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to insert a record into the table
Replies: 3
Views: 4746

What's different about the target table in QA? Regardless, see if an exact search for "Unable to insert a record into the table" helps.
by chulett
Tue Feb 16, 2010 6:17 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: problem installing DS 8.1 on AIX 6.1
Replies: 9
Views: 5607

Excellent. Please mark your post as Resolved using the button at the top of the page.
by chulett
Tue Feb 16, 2010 6:15 am
Forum: General
Topic: Complex Flat File Issue
Replies: 2
Views: 1581

An exact search for "only top-level fields are accepted" found 7 other posts that mention that phrase.
by chulett
Mon Feb 15, 2010 5:38 pm
Forum: General
Topic: Datastagejob call a Unix-Programm
Replies: 5
Views: 1476

Run the job on one node to simplify things and then use a constraint like:

Code: Select all

@OUTROWNUM <= p_RowCountLimit
p_RowCountLimit would be a Job Parameter.
by chulett
Mon Feb 15, 2010 5:21 pm
Forum: General
Topic: Datastagejob call a Unix-Programm
Replies: 5
Views: 1476

Why not just stop writing to the file when the count passes a certain limit? A constraint would do that for you and you could use a job parameter for the actual limit.
by chulett
Mon Feb 15, 2010 5:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Looping logic based on multiple conditions to end loop
Replies: 11
Views: 4393

You end a loop early simply by branching out of it past the End Loop stage. Easiest way to do that is park a Sequencer set to 'Any' right after it and branch to that based on the filename found.
by chulett
Mon Feb 15, 2010 1:47 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Picking metadata at run time
Replies: 5
Views: 1998

As long as there are zero transformations involved in the process, yes - it's called RCP or Runtime Column Propogation. Search here or in your pdf manuals for all of the gory details.
by chulett
Mon Feb 15, 2010 1:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Time Field Automatic Conversion to Timestamp
Replies: 7
Views: 1656

You need to understand the data types you have available to you in Oracle: DATE: Date with 'optional' time component. TIMESTAMP: Same as DATE but time is stored to the millisecond. VARCHAR2: String. There's more to the TIMESTAMP, of course, it supports different millisecond scales and has TIMEZONE o...
by chulett
Mon Feb 15, 2010 10:40 am
Forum: Site/Forum
Topic: Problem with posting.php
Replies: 11
Views: 9317

It's been working today for me as well as it ever does. :wink:
by chulett
Mon Feb 15, 2010 10:29 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Time Field Automatic Conversion to Timestamp
Replies: 7
Views: 1656

Look at the table that was created and tell us what data type the target field is. That's where we have to start. If you treat it as a String in your job, Oracle will create the table with a VARCHAR2 field, which I've already noted is what you'd need to use for store time information.
by chulett
Mon Feb 15, 2010 10:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Questions regarding Null handling in Stage variables
Replies: 17
Views: 17863

They're in Appendix B of the Parallel Job Developer Guide pdf.

Dang, too slow. :lol:
by chulett
Mon Feb 15, 2010 10:14 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Time Field Automatic Conversion to Timestamp
Replies: 7
Views: 1656

Once again I must ask what your target field's data type is. While an Oracle DATE field supports an 'optional' time portion, the date itself is not optional and must be a valid date.

If all you truly want to store is a time, you'll need a VARCHAR2 field for that.
by chulett
Mon Feb 15, 2010 9:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: converting a string to Date
Replies: 7
Views: 25649

Of course. The StringToDate() function takes the format of the incoming string so just get that right and convert any valid date.