Search found 6797 matches

by DSguru2B
Mon May 21, 2007 7:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unix- Dos Style Issue
Replies: 8
Views: 2356

Change all the files to OS your sitting on. If it is UNIX then make sure all the files are UNIX format. You can find a bunch of commands to do this. tr, dos2unix, sed etc to name a few. You can search for exact syntax on google.
by DSguru2B
Mon May 21, 2007 7:25 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Current Timestamp in to DB2
Replies: 10
Views: 2514

Same thing :wink:
by DSguru2B
Mon May 21, 2007 6:51 am
Forum: Site/Forum
Topic: Job Type Selection Feedback
Replies: 3
Views: 2356

I think thats an excellent point. Have been dealing with server types in parallel forum and vice versa a lot. Also creates a confusion for folks who are replying. Thats a good point.
by DSguru2B
Mon May 21, 2007 6:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Current Timestamp in to DB2
Replies: 10
Views: 2514

Well, DB2 accepts date in internal format, I am sure about that. Not too sure about timestamp though.
Try

Code: Select all

OCONV(Date(), "D-YMD[4,2,2]"):" ":OCONV(Time(), "MTS")
by DSguru2B
Fri May 18, 2007 12:45 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Restartability logic Vs Performance????
Replies: 2
Views: 938

If you want restartablility then its better to modularize the way you have done. It will be easier and in fact, the overall performance will be better. Consider the scenario in which your job breaks at the 4th aggregator. Now when you restart the job, all the previous aggregations need to be done al...
by DSguru2B
Fri May 18, 2007 12:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: sequential file location
Replies: 3
Views: 747

In DS administrator, highlight your project and hit the Command botton. You can run this query there.
OR
You can go to dshome directory, type uv or dssh. Then

Code: Select all

LOGTO <<Project Name>>
PTERM CASE NOINVERT

And then paste the query there.
by DSguru2B
Fri May 18, 2007 11:04 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: sequential file location
Replies: 3
Views: 747

Use the query in this link. This will give you the job name which will create and read this file. If you just want the job name that will create the file then remove 'CSeqOutput' from the query.
by DSguru2B
Fri May 18, 2007 10:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: What does this error mean? Status code = -1004
Replies: 6
Views: 1952

Now that makes it so much easier. Two things 1) You are directly linking an integer field to a character field which is a big no no. You need to explicitly convert. 2) You have a nullable field without any null handling. Now if you search on the error messages, you will see that this has been covere...
by DSguru2B
Fri May 18, 2007 10:49 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Mapping columns from a spread sheet
Replies: 6
Views: 2364

Look into the Column Auto-Match property inside the transformer. Its the third icon from the right at the very top.
by DSguru2B
Fri May 18, 2007 10:45 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: What does this error mean? Status code = -1004
Replies: 6
Views: 1952

Then fixing those warning message will elimate the fatal message. And therefore require knowledge of the warning messages. Do you mind sharing it with us?
by DSguru2B
Fri May 18, 2007 10:44 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Modify Stage - Implicit conversion
Replies: 12
Views: 9593

Please search on keywords 'Converting number to string'.
by DSguru2B
Fri May 18, 2007 10:26 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: What does this error mean? Status code = -1004
Replies: 6
Views: 1952

Are there any other error messages? Any warning message?
by DSguru2B
Fri May 18, 2007 8:40 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting Microseconds from System Time
Replies: 8
Views: 3255

I recommend getting back to support for that. If your getting the millisecond part for the target table then I advise you to talk to your dba to set up the Current_Tp column in your table with a function that gets the current timestamp. This way every time a record is inserted, you will see current ...
by DSguru2B
Fri May 18, 2007 8:35 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Connection to DB2 using a routine
Replies: 8
Views: 2763

Write a shell that invokes the db2 connect and runs the query via DSExecute() command. Ofcourse you can make it much easier and use a simple datastage job to do this.
by DSguru2B
Fri May 18, 2007 8:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Trailing spaces
Replies: 3
Views: 858

A box character huh. See if the following works for you

Code: Select all

CONVERT(".","",OCONV(in.Col, "MCP"))

Test it out with the above command. If it works then make sure you dont have any dots in your data before accepting it as a solution.