Search found 6797 matches

by DSguru2B
Sun Apr 01, 2007 4:03 pm
Forum: General
Topic: Executing multiple commands from a file
Replies: 7
Views: 3158

info_ds wrote:DsGuru2B, I didnt know that your name was Brian :twisted:

Yea, I didnt know either. :wink:
by DSguru2B
Sat Mar 31, 2007 8:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: change data detection
Replies: 9
Views: 1707

While doing a join, select TableB's key a well. All new records will have null key from TableB. Filter that in the transformer by putting a contraint. Or you can also filter in the sql select.
by DSguru2B
Fri Mar 30, 2007 2:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Insert / Update records LDAP - DataStage v.8.0
Replies: 7
Views: 3910

I have no experience with ADAM. The message that I wanted to convey with my previous post was, that as long as you can write a stand alone piece of code that executes and provides the right result, you can invoke it from within datastage.
by DSguru2B
Fri Mar 30, 2007 2:31 pm
Forum: General
Topic: SQL Reference for DataStage Universe Tables
Replies: 5
Views: 4543

Craig is right. Use the dsjob command to redirect your log to a file. Utilize the power of unix to parse your own custom log.
by DSguru2B
Fri Mar 30, 2007 1:14 pm
Forum: General
Topic: SQL Reference for DataStage Universe Tables
Replies: 5
Views: 4543

What exactly do you want fromt he repository tables? Kim is the leader in querying repository tables. You can search for code by his id "kduke". There are others as well. Search will help.
by DSguru2B
Fri Mar 30, 2007 1:12 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Inserting into a not null column.
Replies: 11
Views: 3723

Time to mark your post as "Resolved". :)
by DSguru2B
Fri Mar 30, 2007 10:53 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem viewing a seq file on Datastage
Replies: 15
Views: 8704

Post here some sample data, a few values, for that particular column.
by DSguru2B
Fri Mar 30, 2007 10:30 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Specifying UNIX EOF as Record Delimiter
Replies: 3
Views: 1477

Do you mean UNIX New Line?
If yes, then you can set it in the format tab under Record Level property Record Delimiter.
by DSguru2B
Fri Mar 30, 2007 10:27 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Inserting into a not null column.
Replies: 11
Views: 3723

This is not a datastage issue but rather the type of database. I have, in the past, inserted space in not null columns in a SqlServer table.
by DSguru2B
Fri Mar 30, 2007 10:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem viewing a seq file on Datastage
Replies: 15
Views: 8704

Do as it says. Let it be decimal, go to extended properties for that column and set either the width or max width which should be 19 for you I believe (1 for decimal point, 1 for sign, 17 length). Try it out.
by DSguru2B
Fri Mar 30, 2007 8:29 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Multiple Instances in a Lookup
Replies: 4
Views: 1318

Where is your lookup coming from? Is it a database or a flat file? If database, then write sql to select max date and status grouping on S.No. Load the result to a hashed file keyed on S.No. Now your hased file contains the latest status for a S.No. From here on do the normal lookup against the hash...
by DSguru2B
Fri Mar 30, 2007 8:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Compilation of Job before Execution through Job Scheduler
Replies: 4
Views: 1367

The control really depends upon how you design. If you need restartability you need to make the sequence jobs restartable. If you have a few jobs then putting them in a single line is ok but if you have many jobs, then build sequences and child sequences. Or simple write a batch job, in which you ha...
by DSguru2B
Fri Mar 30, 2007 7:40 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Running all jobs in a project from command line
Replies: 4
Views: 1486

In what order do you want to run them? Ray's solution will work for you if the answer to his question is, "It does'nt matter", which is rarely the case. Build a file which has all the job names in the order in which they need to be run. Cat the file, read it one by one and pass it to the dsjob -run...
by DSguru2B
Fri Mar 30, 2007 7:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: calling Teradata Procedure
Replies: 0
Views: 977

You can only execute stored procedures form native api stages. Any return values will be either ignored and or the stored procedure wont run. Its better to create a small script that fires off your stored procedure and gets the return code. This way you can fire off the script in the before/after jo...
by DSguru2B
Thu Mar 29, 2007 2:53 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sequential file outputs Twice the number of rows it has !
Replies: 7
Views: 1477

Something is off. What is your source. Regardless, check the row counts of your source and then do a comparison with target. Something fishy going on with what you see on the designer as rows. You sure no other process going on? Like an after job subroutine that doubles the file or soemthing. Someth...