Running jobs during Daylight Savings Time

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
Dixlofos
Participant
Posts: 3
Joined: Wed Apr 23, 2003 8:51 am

Running jobs during Daylight Savings Time

Post by Dixlofos »

We are running control jobs written in Basic where we call GUI jobs sequentially. This is similar to Job Sequencer but not written in GUI which allows us to restart from specific step in case of abend. Whenever this job hits Daylight Saving Time it stops right after the current step is completed. No abend is issued. Did anybody expirience similar problem?
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

That depends on what you're doing in your custom job control logic. Is it polling in a loop the jobs it is executing, or it is infinitely hung with a DSWaitForJob API call? If it's in a polling loop, do you have any time logic going on, such as monitor job execution time?

As for running jobs during a system clock change, I haven't heard of any problems except those that are self-inflicted.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Dixlofos
Participant
Posts: 3
Joined: Wed Apr 23, 2003 8:51 am

Post by Dixlofos »

Basically we have this sequence for each step:

DSAttachJob - attach the job
DSGetJobInfo - check status to make sure the job is ready to run
DSRunJob - run job
DSWaitForJob
DSGetJobInfo - check job status
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

By "hits daylight savings time" you mean the system clock changes while the transformation job and batch job are running?

If that's the case you should contact tech support.

If the DSWaitForJob API is hanging that needs to be determined. That infinite wait is only satisfied by the transformation job actually finishing. If the transformation job completes successfully and it's actually the DSGetJobInfo that hanging, you need to determine that by looking in the job control log and see if theres a completed message back from the API. You should put some DSLogInfo messaging inbetween each API call so that you can see what statement is truly hanging.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Dixlofos
Participant
Posts: 3
Joined: Wed Apr 23, 2003 8:51 am

Post by Dixlofos »

Yes, the system clock changes while the transformation job and batch job are running.
Thank you, I will open a case with Ascential
Post Reply