Search found 81 matches

by davidnemirovsky
Wed Dec 08, 2004 11:22 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Reset job
Replies: 2
Views: 811

Create a sequence job. Add a 'Job Activity' stage. In the properties of the stage select the job name and then in the 'Execution Action' drop down box select 'Reset if required, then run'.
by davidnemirovsky
Tue Dec 07, 2004 10:58 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Final Delimiter in Seq. File Stage of DS Server
Replies: 7
Views: 4139

So as I stated before just output the desired results for each file with a Constraint in a transformer stage. 3 output links (1 for each file) and based on field1 the row goes to the appropriate file. A second set of transformers for each file splits the pipe-delimited fields for that file. Is that ...
by davidnemirovsky
Tue Dec 07, 2004 10:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job Sequencer
Replies: 4
Views: 1347

cani call the second job after completion of each job 32 times
Yes you can but it will look quite messy. I would create a Job Control routine to kick off the first job and then create a loop for the second job that executes 32 times. It is a neater solution.
by davidnemirovsky
Tue Dec 07, 2004 10:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Merging a DataBase table with Hashfile
Replies: 3
Views: 851

I would put your table into a hashed file and then use one hashed file as the Input to a Transformer stage and the other hashed file as a look up. You won't need the Merge stage. Make sure the keys that need to match are in the exact same format.
by davidnemirovsky
Tue Dec 07, 2004 5:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How can DS listen/loop on a directory for coming files?
Replies: 10
Views: 3808

In reply to Phil Hibbs post: I asked this on the course, and was rather astonished that the tutor didn't think it was possible to process unknown file names. It isn't unusual to have to process files that are named with some kind of incrementing sequence, maybe with a date and time included in the n...
by davidnemirovsky
Tue Dec 07, 2004 1:26 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How can DS listen/loop on a directory for coming files?
Replies: 10
Views: 3808

What you need is a control file for each file you are looking for. Once a file is FTPed (file1.csv) another control file is FTPed (file1.ctl) to indicate the transfer has completed. In the control file you could even have a row count to check if the correct number of records have been FTPed across.
by davidnemirovsky
Tue Dec 07, 2004 1:23 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: To locate Hash file or any job directly from Administrator
Replies: 5
Views: 2543

Not sure if this is the way you'd like to do it but if you're looking for a job you can't find then open Director and in the 'View' menu at the top click 'Show Categories' to remove the tick. This will show you a list of all jobs and which category they belong to. Be warned! It can take a while to r...
by davidnemirovsky
Tue Dec 07, 2004 1:14 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Final Delimiter in Seq. File Stage of DS Server
Replies: 7
Views: 4139

I haven't come across a 'final delimiter' in DS Server, but from what I understand you are trying to do you don't need it. If your first field contains 'filename' then you can output the desired results for each file with a Constraint in a transformer stage. A second set of transformers for each dif...
by davidnemirovsky
Mon Dec 06, 2004 8:01 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Timestamp Comparison
Replies: 10
Views: 4340

Please post the 'Generated SQL' that is being generated. LEFT (DSLink38.CONVER_DTTM_INIT, 19) = Field (DSLink2d.CONVER_DTTM, ".", 1) I think you should do these comparisons in the join, but if that's giving you trouble I would make the constraint something like this: IConv(DSLink38.CONVER_...
by davidnemirovsky
Mon Dec 06, 2004 4:51 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Timestamp Comparison
Replies: 10
Views: 4340

Which database are you using? What is the exact SQL you are using to perform the join? Are you casting the date fields correctly?
Ie. for Oracle you might need:

Code: Select all

TO_CHAR(DateField, "YYYY-MM-DD HH24:MI:SS")
by davidnemirovsky
Sun Dec 05, 2004 9:44 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Deleting a preidentified set of records from database
Replies: 3
Views: 1654

If your deletion criterea is pre-defined and will not change then just use a parameter driven custom SQL statement as Craig suggests. That's the way I would do it.
by davidnemirovsky
Sun Dec 05, 2004 8:31 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Timestamp Comparison
Replies: 10
Views: 4340

In regrads to your first question you should try using something like this for the date part of the timestamp: IConv(InputColumn[1,10],"D-YMD[4,2,2]") And perhaps something like this for the time part: IConv(InputColumn[12,8],"MTS") To answer your second question: Of course you c...
by davidnemirovsky
Sun Dec 05, 2004 8:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Timestamp Comparison
Replies: 10
Views: 4340

read below
by davidnemirovsky
Wed Dec 01, 2004 5:57 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DB2 plugin - Unable to initialize plug-in:
Replies: 7
Views: 3864

First re-install the DB2 client on the server. Then re-install Datastage on the server. This will set the dsenv file and any other variables needed. Chances are that you can fix it by modifying all the environment variables and DS files, I suppose it depends if you are limited with time. Re-installi...
by davidnemirovsky
Tue Nov 30, 2004 11:33 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: storing of log details of a job in a file on windows and uni
Replies: 2
Views: 1192

If you get the job number of your job (nnn) from the DS_JOBS table, then the log for that job is a table called RT_LOGnnn. You can either pipe the results from the OS using the command line interface dsjob with its "-log" options. OR You can create a job that uses a Universe stage with a r...