Search found 6797 matches

by DSguru2B
Fri May 18, 2007 8:25 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Getting Microseconds from System Time
Replies: 8
Views: 3255

Its a C routine so you will need to copy the routine in the embeded post. Compile it using the C compiler which you should have as the transformer works only with a valid C compiler installed. Once you compile your routine(.c) it will create an object file referred to with a dot o extrension (.o). C...
by DSguru2B
Fri May 18, 2007 8:09 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Unable to capture error messages in DB2 API Stage
Replies: 7
Views: 8108

I doubt there is such an option. But you need to re-think your approach. Don't let warnings occur in the first place. Treat all warnings as reg signals. If warnings are more like informational messages then demote them as one, using the message handler. But with warnings such as resource constraints...
by DSguru2B
Fri May 18, 2007 8:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 Partition Load Issue - Errors
Replies: 6
Views: 2539

Look in the log file of both the jobs (the job that created this dataset and the load job). Look at the 5th or 6th entry I believe, the entry will start with the line 'main_program: APT configuration file: '.
by DSguru2B
Fri May 18, 2007 7:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Current Timestamp in to DB2
Replies: 10
Views: 2514

How are you getting the Current Timestamp? What is the length of your target stage?
by DSguru2B
Fri May 18, 2007 7:34 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DB2 Partition Load Issue - Errors
Replies: 6
Views: 2539

How many nodes did you use to create your dataset? And how many nodes are you using in your load job?
by DSguru2B
Wed May 16, 2007 12:13 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error message when viewing data
Replies: 5
Views: 985

I doubt it. The limit is for the viewer. Dont know of any variable that will alter that.
by DSguru2B
Wed May 16, 2007 11:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error message when viewing data
Replies: 5
Views: 985

Yes. But why are you worried about the view data part. Does your job function properly?
by DSguru2B
Wed May 16, 2007 10:21 am
Forum: General
Topic: Processing files in a directory
Replies: 44
Views: 12719

These are primary questions and are discussed before. Try searching for them before asking.

Code: Select all

dsjob -run -jobstatus -param .....
RetCd=$?

RetCd will have the jobstatus.
Really, please search before asking.
by DSguru2B
Wed May 16, 2007 9:03 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Deleting records from Sybase IQ DB.
Replies: 4
Views: 3229

Try to run the delete for say 1000 records from your favourite sql tool. See how much time it takes there.
by DSguru2B
Wed May 16, 2007 8:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DSGetStageInfo with dataset
Replies: 4
Views: 1926

It should work. Are you giving the correct name of the stage? Make sure there are no leading/trailing spaces.
by DSguru2B
Wed May 16, 2007 8:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Error message when viewing data
Replies: 5
Views: 985

The error message tells you all. You have reached a limit. What happens when you run the job?
by DSguru2B
Wed May 16, 2007 8:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: hash file
Replies: 1
Views: 493

I found the following sql in one of the archives. Enjoy SELECT DS_JOBS.NAME AS JOB_NAME FMT '30L' FROM DS_JOBS, DS_JOBOBJECTS WHERE DS_JOBOBJECTS.OLETYPE = 'CHashedInput' AND DS_JOBOBJECTS.OBJIDNO = DS_JOBS.JOBNO AND EVAL DS_JOBOBJECTS."@RECORD<6>" = 'Your Hashed File Name' GROUP BY JOB_NA...
by DSguru2B
Wed May 16, 2007 8:32 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: fixed width file
Replies: 8
Views: 2741

Then get the record length from the sybase table that you exported data from.
by DSguru2B
Wed May 16, 2007 8:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: fixed width file
Replies: 8
Views: 2741

Who ever provided you the file, usually provides the length. If you have to find it out yourself then you will need to do manual work and analyze the records. This is prone to error. Any manual work is error prone. How are you getting this file? Outside of DataStage or within?