How to handle restarting of subsequnces in Failure cases

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

chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Unless you write your own job control code, of course - then you can do anything you want... within your ability. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
chandra
Participant
Posts: 88
Joined: Sun Apr 02, 2006 6:50 pm
Location: India

Post by chandra »

If your using tivoli as a scheduler then u can start any sequence.
I dnt think there is checkpoint concept present in 7.0,6.0 in llrle and server version.
chandra ,
Hyd
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

If you are well versed in shell scripting you can write your own script.
Restartablilty can be handled by reading the job names from a file and running them sequentially, once any job fails, copy the rest of the job names from the file to another file.
Go investigate the error fix it. Next time you execute the script, it will look for the second file, if it exists that means the previous run was incomplete and will run the jobs from that file. Once all the jobs finish, it will delete the second file.
Next time when your script again, it will check for the second file, it does not exist, so it will go to the first file and get start running those jobs one by one.
Makes sense :?:
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Nageshsunkoji
Participant
Posts: 222
Joined: Tue Aug 30, 2005 2:07 am
Location: pune
Contact:

Post by Nageshsunkoji »

Hi,

As per your requirement, It is must to abort your main sequence and then only you have a option of Restart of Main and Subsequence after failure.

It will not make any problem, even though your main sequence shows aborted. More ver, it is giving you a option of restarting of your failed sub sequences.
NageshSunkoji

If you know anything SHARE it.............
If you Don't know anything LEARN it...............
Post Reply