Search found 6797 matches

by DSguru2B
Tue Dec 19, 2006 7:08 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: How to Assign Stage variable to a Job Parameter
Replies: 2
Views: 1417

To which job's parameter. It cannot be the same job as parameters cannot be set once the job execution starts. You can store that value in a text file and then read that text file and set that value as a parameter. If your doing it from command line you can cat that files contents into a variable an...
by DSguru2B
Tue Dec 19, 2006 6:58 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Probelm triggering job via Sequence
Replies: 15
Views: 3608

I job might have already started but the status still shows that its not running. Might be a delay in updating the RT_STATUSnnn file. Try clearing the status from the director, clearing the &PH& folder will also help in quicker response times.
by DSguru2B
Tue Dec 19, 2006 6:55 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Cleaning the Scratch space
Replies: 9
Views: 9354

Why are they there? Which jobs created them? Are they still required? The only safe way to delete Data Sets and File Sets is to use either the orchadmin utility or the graphical Data Set Management utility in the Manager client. DO NOT attempt to delete them using rm commands. Except the orchadmin ...
by DSguru2B
Tue Dec 19, 2006 6:52 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Compilation error of Transformer stage
Replies: 11
Views: 6567

Thats why i asked, is this the only culprit job or other jobs with a transformer acting up too.
by DSguru2B
Tue Dec 19, 2006 6:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: what is the difference between odbc upsert insert and append
Replies: 1
Views: 1059

In the ODBC Enterprise Stage User Guide,you will find the differences in the first few pages.
by DSguru2B
Tue Dec 19, 2006 6:43 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: To get count(*) from tables
Replies: 10
Views: 3425

At the end of each job, have an after-job subroutine, gather the row count for your target link going into the table. Or maybe even inside the job itself after that particular link finishes, populate the link count and the table name into a delimited file. Do the same in all 50 jobs. The mode of wri...
by DSguru2B
Mon Dec 18, 2006 4:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: RE: Date column in DB2
Replies: 16
Views: 3770

Try

Code: Select all

OCONV(in.date, "D-YMD[4,2,2]"):" 00:00:00"

Note the space before the first set of 00.
by DSguru2B
Mon Dec 18, 2006 4:02 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: regarding sort stage
Replies: 7
Views: 2345

That error message is from the odbc stage. I think you need to put ORDER BY clause in the bottom half and not the selections tab. Cant remember whats it called, and dont have access to DS at the moment. As per your second query, do you have the dsn name, table name all properly set for the link goin...
by DSguru2B
Mon Dec 18, 2006 3:56 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DB2 Datetime to Date
Replies: 9
Views: 3773

Internal format will work only if its defined as Date in the target database. If its timestamp then internal format wont work. Try Ray's suggestion, which is the same as Ken pointed out. If that doesnt work that means you have to supply timestamp.
by DSguru2B
Mon Dec 18, 2006 2:36 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DB2 Datetime to Date
Replies: 9
Views: 3773

First of all make sure its in the correct format (YYYY-MM-DD HH:MM:SS.nnnnnn). Even if you dont have the franctional seconds part, its ok. DB2 will add that during insert. Make sure you have a single space between the date part and time part of the timestamp. If all of that is in place, then try cha...
by DSguru2B
Mon Dec 18, 2006 2:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: regarding surrogate key generation
Replies: 8
Views: 1422

You can now mark the post as resolved.
by DSguru2B
Mon Dec 18, 2006 2:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job status 'Running' forever.
Replies: 10
Views: 3937

Well i think your problem is right there. Contact those guys and ask them when is the network traffic the least. Schedule a job to load the table into a text file. Then read the squential file instead of the table directly. This way you dont have to change your schedule and you can select data when ...
by DSguru2B
Mon Dec 18, 2006 2:31 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: regarding sort stage
Replies: 7
Views: 2345

Ok i get it now. Click on the odbc stage, from the dropdown on the outputs tab, choose the second link and add all the info for the second link again. It has nothing defined and hence your problems.
by DSguru2B
Mon Dec 18, 2006 2:17 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job status 'Running' forever.
Replies: 10
Views: 3937

More like monitor the activities from the database. DS will just show that the clock is running and nothing is being passed. Also try clearing the &PH& folder. It might help.
by DSguru2B
Mon Dec 18, 2006 2:15 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: regarding surrogate key generation
Replies: 8
Views: 1422

Quote the sequence name.

Code: Select all

KeyMgtGetNextValue('drs14')