Search found 6797 matches

by DSguru2B
Tue Jun 13, 2006 1:18 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Probem in populating a flat file
Replies: 7
Views: 1564

So what you are trying to say is that First record has 4 columns Second column has null values (how many columns?) Third record has only one column? Is this your target file. How did you populate this file. Or this file is your source file? But i thought your source is SQL Server. If there is metada...
by DSguru2B
Tue Jun 13, 2006 12:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DB2 UDB Bulk Stage - Performance Issue
Replies: 57
Views: 14878

Delete the message file. Or in the properties of the bulk loader, give a new file name so that it creates a new file. Run your job for just 5 records so that the message file remains small and we can see the key messages in it.
by DSguru2B
Tue Jun 13, 2006 12:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Probem in populating a flat file
Replies: 7
Views: 1564

Ok help me understand The first record is Column1: 123 Column2: 126 Column3: 789 Column4: Dear Sir/Madam, What is record 2? Does record 3 only have "Kindly help me to change the store number from S63 to S063.. Thanks Azila" as a value? What column does this value belong too. What values do the other...
by DSguru2B
Tue Jun 13, 2006 11:45 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DB2 UDB Bulk Stage - Performance Issue
Replies: 57
Views: 14878

DSguru2B wrote:If it still doesnt work, get your DBA involved. Fire your job and ask the DBA to monitor what is your thread doing at the database level.
Also look at the message file, it has precious info that helps in debugging and getting the load utility to work.


Did you try that :?:
by DSguru2B
Tue Jun 13, 2006 11:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Please help me out
Replies: 4
Views: 889

O i am sorry. I thought the job finished after 30 mins.
Didnt know the job was hung for 30 mins. :oops:
What update action are you giving in the target API stage?
by DSguru2B
Tue Jun 13, 2006 11:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Please help me out
Replies: 4
Views: 889

With 4 million records, the job is finishing in 30 mins (approx. 7777 rows/sec). I dont see whats the problem. Keeping in mind, you are using server edition, working on a single node, i think thats acceptable. How many columns are you sending accross?
by DSguru2B
Tue Jun 13, 2006 10:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Invalid character value for cast specification
Replies: 3
Views: 3478

I once got this kind of error with SQL Server. It doesnt like BigInt being passed to it. I had to change that to Integer.
ArndW is right, its the sql type of one of your columns thats creating that problem. Do as he says to find out which column it is.
by DSguru2B
Tue Jun 13, 2006 10:16 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: setup -ds users
Replies: 5
Views: 1616

I think there is more to it then that. Look into your DataStage Director guide in dsbooks. It mentions over there that it depends upon what edition of DataStage you have purchased. If its developer's edition then you can do everything, from design and develop to run and compile and even delete Where...
by DSguru2B
Tue Jun 13, 2006 9:53 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate timestamp only if condition met.
Replies: 15
Views: 5951

Generate timestamp only if condition met.

Hi Guys, I have a situation. We have a column (exp_tp) that's the flag for the active record in the Datawarehouse (SCD 2). That column is of Sql Type: Timestamp Length : 26 Scale : 6 At the database level, that column is defaulted to 9999-12-31 23:59:59.999999. Depending upon the incoming data i hav...
by DSguru2B
Tue Jun 13, 2006 8:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: if FileB is not empty propagate FileA
Replies: 33
Views: 4705

Read about how to use the test unix command. Also you can look into wc -c to count the characters inside the file. If its greater than 0, then the file is not empty. You have a couple of options. You can also do find fileA.txt -size 0 Then your routine is going to be something like Ans = 0 UnixComma...
by DSguru2B
Tue Jun 13, 2006 8:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: if FileB is not empty propagate FileA
Replies: 33
Views: 4705

You can say that again :twisted:
by DSguru2B
Tue Jun 13, 2006 8:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: if FileB is not empty propagate FileA
Replies: 33
Views: 4705

Isnt that what i wrote :wink:
by DSguru2B
Tue Jun 13, 2006 8:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: if FileB is not empty propagate FileA
Replies: 33
Views: 4705

-z is one of the options of the command test. Read about test unix command. I think it should be

Code: Select all

UnixCommand = "test -z ": Arg1

where Arg1 will be the fully qualified path of file.
by DSguru2B
Tue Jun 13, 2006 7:38 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to remove checkpoint on a job automatically.
Replies: 5
Views: 2010

O got it. Thanks for the clarification. I was wondering if there is a way around it. Thanks Craig.
by DSguru2B
Tue Jun 13, 2006 7:37 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Lookup Key Expression
Replies: 5
Views: 966

Isnt this a duplicate post :?
Use a temp table to load your hashed file into it and use the sql mentioned in your otherpost.