sequence unable to restart

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
mab_arif16
Charter Member
Charter Member
Posts: 87
Joined: Sat Mar 18, 2006 11:45 pm

sequence unable to restart

Post by mab_arif16 »

Hi
I have a sequence A which calls another sequence B(with option reset if required then run ),A is scheduled to run through cron tab,if B fails ,A is not able to restart in the second run .
What are the add check point options to be selected in both sequence A and B so that A can be restartable in the second run.
Thanks
Arif
kris007
Charter Member
Charter Member
Posts: 1102
Joined: Tue Jan 24, 2006 5:38 pm
Location: Riverside, RI

Post by kris007 »

1.What is the error message you are getting?( Is it Job A has to be reset before it can be run?)
2.When Job Sequence B fails, what is the status of the Job sequence A.Is it in Aborted Status or Finished status.

If a Job is scheduled at particular time, and if that job aborts(finishes with status=3) then you would need to reset that job before you can run it at the scheduled time OR you would have to run it manually. In short, a scheduled Job has to be in Finished or Compiled state to be run at that time and not in aborted/restartable state.
IHTH
Kris

Where's the "Any" key?-Homer Simpson
mab_arif16
Charter Member
Charter Member
Posts: 87
Joined: Sat Mar 18, 2006 11:45 pm

Post by mab_arif16 »

kris007 wrote:1.What is the error message you are getting?( Is it Job A has to be reset before it can be run?)
2.When Job Sequence B fails, what is the status of the Job sequence A.Is it in Aborted Status or Finished status.

If a Job is scheduled at particular time, and if that job aborts(finishes with status=3) then you would need to reset that job before you can run it at the scheduled time OR you would have to run it manually. In short, a scheduled Job has to be in Finished or Compiled state to be run at that time and not in aborted/restartable state.
IHTH
The warning is job A needs to be reset ,If sequence B fails the status of A is finished .
kris007 wrote:In short, a scheduled Job has to be in Finished or Compiled state to be run at that time and not in aborted/restartable state.
Doesnt the reset if required then run option takes care of it.If the main sequence aborts then doesnt it reset itself automatically.

Thanks
Arif
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

No the sequence itself does not reset automatically. If you compile it then it will not restart at the point of failure. The jobs within the sequence will reset themselves if you select that option on the job activity. Most of the time the sequence does not abort. It finishes with a warning.
Mamu Kim
mab_arif16
Charter Member
Charter Member
Posts: 87
Joined: Sat Mar 18, 2006 11:45 pm

Post by mab_arif16 »

kduke wrote:No the sequence itself does not reset automatically. If you compile it then it will not restart at the point of failure. The jobs within the sequence will reset themselves if you select that option on the job activity. Most of the time the sequence does not abort. It finishes with a warning.
I sequence is calling another sequence in the job activity ,and if it use the option reset if required then run ,will the inside sequence reset .
Thanks
Abdul
srinivasvemula
Participant
Posts: 1
Joined: Fri Jul 07, 2006 10:11 am

Can you be more clear

Post by srinivasvemula »

Can you be more clear in these terms:

1. When your sequence's B and A fails what is the STATUS that you see?
2. Are you sure that no job in Sequence B is failing?

Thanks
Srinivas
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

mab_arif16 wrote: I sequence is calling another sequence in the job activity ,and if it use the option reset if required then run ,will the inside sequence reset .
Yes it will.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

The warning is job A needs to be reset ,If sequence B fails the status of A is finished .
Can you justify this statement. Are you sure that, B gives the warning that Job A need to be reset even if it is finished with success?
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
Post Reply