Search found 15603 matches

by ArndW
Mon Jul 04, 2005 8:10 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Search jobs that uses a particular file
Replies: 8
Views: 2011

A quick-and-dirty method would be to export the project to a .dsx or .xml file and do a text search for occurrences of the file name in that file. Of course this only work where you specifically used the name and not a parameter. In addition, you can use the built-in metadata tools if you always loa...
by ArndW
Mon Jul 04, 2005 6:50 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Job shldnt run when the source file is empty
Replies: 4
Views: 991

Mandar,

you would need to write a sequence job, in that you call the UNIX command "wc -l {yourfilename}" to return you the number of lines, then you can conditionally call a job if this returned number is greater than zero.
by ArndW
Mon Jul 04, 2005 6:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sequencer Job is aborted in DS7.5.1
Replies: 13
Views: 5238

dhwankim,

could you explain the
JdDSSJOBUpdate_T1_JC_JOB_PARAMETERS_Hf
part - I'm afraid I don't know what you mean.
by ArndW
Mon Jul 04, 2005 6:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to retain the data of the Hash file when the sourceempty
Replies: 2
Views: 653

It sounds like you have the "clear file" option set when writing to the hash file. If you uncheck this then the file's contents will not get deleted on subsequent runs.
by ArndW
Mon Jul 04, 2005 4:20 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sequencer Job is aborted in DS7.5.1
Replies: 13
Views: 5238

The error message is that DataStage has waited longer than it thinks to start a job; this is most likely due to the system's resources being bottlenecked during this initial startup phase. Please monitor your CPU usage when the job starts, if it is over 95% for periods of 10-15 seconds then this is ...
by ArndW
Mon Jul 04, 2005 3:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Sequencer Job is aborted in DS7.5.1
Replies: 13
Views: 5238

Does the same server job timeout each time? I suspect that it does not; could you stagger your 30 concurrent calls by making some of them depend upon others finishing? Also, monitor your cpu usage while these are running, vmstat should be detailed enough.
by ArndW
Mon Jul 04, 2005 2:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to get distinct data without using aggregate stage
Replies: 5
Views: 1699

The Key management routine uses a file called SDKSequences and your argument is the key into that file. You can either code a DataStage basic code to delete or change this value or you can even do it as part of a DataStage job if you prefer that approach.
by ArndW
Mon Jul 04, 2005 1:00 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Logging warnings in seq file
Replies: 7
Views: 2341

You could write an end-of-job subroutine that only gets executed upon job completion. In this routine you would call one of the DataStage routines, perhaps DSGetLogSummary with the DSJ.LOGWARNING key, to get all your warnings and write them to a sequential file all at once.
by ArndW
Mon Jul 04, 2005 12:56 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: how to get distinct data without using aggregate stage
Replies: 5
Views: 1699

vmalviya, if your incoming source data is sorted upon the column(s) that you want to use to identify unique records then you can can declare stage variables in a transform that simply compare these to the last record, and if they match to constrain the output. Unsorted data is more difficult, in the...
by ArndW
Sun Jul 03, 2005 4:52 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to RESET JOB.
Replies: 8
Views: 1891

KillBill,

glad to be of help, but I can't take credit for Craig explaining what had actually happened in your case (but I think that I might have found the error had Craig not been quicker off the mark)

-ARnd.
by ArndW
Sun Jul 03, 2005 4:51 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to RESET JOB.
Replies: 8
Views: 1891

KillBill,

glad to be of help, but I can't take credit for Craig explaining what had actually happened in your case (but I think that I might have found the error had Craig not been quicker off the mark)

-ARnd.
by ArndW
Fri Jul 01, 2005 11:36 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Unable to RESET JOB.
Replies: 8
Views: 1891

If that is the case you are right, it most likely isn't due to corruption. What files does the reset complain about, and what other error messages do you get? Perhaps we can track it from that side.
by ArndW
Fri Jul 01, 2005 11:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Find Last Record in File
Replies: 13
Views: 3366

D**m, he's good!!! And I always wondered why engineering bothered to put the initial value in!!!

Thanks,
by ArndW
Fri Jul 01, 2005 11:28 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Find Last Record in File
Replies: 13
Views: 3366

John, that's a good approach, I usually use a COMMON in the routine to skip subsequent calls; and the overhead to PCL a function or subroutine has much more overhead than an IF-THEN construct. But in either case we are adding unneeded extraneous code for each row, so for efficiency it does make sens...
by ArndW
Fri Jul 01, 2005 11:12 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Find Last Record in File
Replies: 13
Views: 3366

Shantanu,

the basic idea is good, but a stage variable will get executed for each row passed through the transformer... This will probably slow down your job considerably. Better a combination - use the routine, but call it from a parent Sequencer.