Search found 15603 matches

by ArndW
Wed Apr 12, 2006 10:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: "has import error and ..." message for DATE field.
Replies: 4
Views: 4356

If you look at your sequential source file and it shows "06/04/2006" displayed in the first 10 positions (as the error message shows) then it is a character field which happens to contain a date in the format of dd/mm/yyyy {or perhaps mm/dd/yyyy ). You can read these 10 characters as a string and th...
by ArndW
Wed Apr 12, 2006 5:51 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Job doesn't terminate
Replies: 10
Views: 1459

Does the job show "running" in the Director? Are the Windows processes for this job still running or have they completed and finished? Are you certain your 2-node APT_CONFIG file is correctly formatted? Will it work with a 2 node configuration if you write to a dataset instead of a database? What is...
by ArndW
Wed Apr 12, 2006 5:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: error while executing OPENSEQ
Replies: 6
Views: 1697

Koti, Ray's post stated the same thing that I did. If the file does not exist, the ELSE clause is taken; even though the file pointer is created and you can write to the file. Normally an OPENSEQ should be called with following syntax if you wish to write to a file and also to create the file if it ...
by ArndW
Wed Apr 12, 2006 5:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: error while executing OPENSEQ
Replies: 6
Views: 1697

Koti, in my previous post I suggested you use an ON ERROR clause and output the value of STATUS() in order to find out what your error is. I doubt that Ray posted a message stating that the OPENSEQ will take the else clause if a file exists. This is not how the OPENSEQ command is documented and not ...
by ArndW
Wed Apr 12, 2006 5:27 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Controller problem- need to modify UV parameters
Replies: 7
Views: 3890

In your DataStage home directory there is a text file called uvconfig which contains the values for these and other configuration parameters. You can edit this text file with vi . Once you have made the changes you need to execute bin/uvregen and then all you need to do is to stop and restart DataSt...
by ArndW
Wed Apr 12, 2006 5:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: error while executing OPENSEQ
Replies: 6
Views: 1697

An OPENSEQ will take the ELSE clause if the file doesn't exist (this is normal behaviour and the file is opened) or if there is no ON ERROR clause and an error occurs. You should add error handling and also display the value of STATUS() to find out what is going wrong. Perhaps you don't have r ead p...
by ArndW
Wed Apr 12, 2006 2:41 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Loading 2.5 Billion Records in a Fact Table
Replies: 6
Views: 1692

To put your question differently, you have just asked "I am driving from New York to Los Angeles. How long will it take me to get there?". Well, are you using a truck or a Porsche or walking? Are you going cross-country or using roads? The list of questions goes on and on. The same applies to your a...
by ArndW
Wed Apr 12, 2006 2:31 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Using DSGetJobInfo to get the category of a Job
Replies: 2
Views: 898

The categories were added several releases into DataStage and, as far as I know, there is no API call to get this information. This is one of the few cases where I do advocate going underneath the covers and using code. GetJobCategory(JobName) OPEN '','DS_JOBS' TO JobFilePtr ELSE CALL DSLogF...
by ArndW
Wed Apr 12, 2006 12:36 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Problem with left justification
Replies: 6
Views: 1363

What is the definition in the DB/2 Table for this column? If it is also char(10) then try using "0000000001" with quotes.
by ArndW
Wed Apr 12, 2006 12:24 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: DATASTAGE GRID
Replies: 2
Views: 671

This is an emerging technology about which not too much has been written. IBM and Ascential are good sources, and I saw this page which also has several references at the end.
by ArndW
Wed Apr 12, 2006 12:21 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: "has import error and ..." message for DATE field.
Replies: 4
Views: 4356

The field is a char field, so you need to declare it as such. Then, as part of your job in a modify or a tranform stage you need to convert this dd/mm/yyy formatted string into a date or a timestamp type field. Since you haven't specified which you will need to look at the developer's guide and choo...
by ArndW
Tue Apr 11, 2006 10:19 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Condition in Transformer stage (server Jobs) ??
Replies: 5
Views: 1633

If you cannot put this condition into your source SQL reading from the table, you can add a constraint in a transform stage with a condition like In.MyColumnName => 201
by ArndW
Tue Apr 11, 2006 9:30 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Resume a Job erased
Replies: 4
Views: 1230

There is no recovery from a deleted job - the delete removes the job and all the contents immediately.
by ArndW
Tue Apr 11, 2006 4:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: source file delimiter error
Replies: 6
Views: 967

Both Ray and I suggested you read the HELP regarding how to set the incomplete columns. From the question in your post it would seem you decided not to follow that advice! Only columns starting at the end of the line and going backwards can be set to incomplete.
by ArndW
Tue Apr 11, 2006 3:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: source file delimiter error
Replies: 6
Views: 967

Parag,

go into your designer sequential file stage in the columns tab, and scroll to the right to see the incomplete column column. Also, try using the HELP and search for incomplete.