Reset if required - change in the Dsx

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
clarcombe
Premium Member
Premium Member
Posts: 515
Joined: Wed Jun 08, 2005 9:54 am
Location: Europe

Reset if required - change in the Dsx

Post by clarcombe »

I have about 300 jobs in a JS to change from Run to Reset if required then run.

I am used to modifying a DSX by hand but I don't know what to look for.

Any ideas

Thanks
Colin Larcombe
-------------------

Certified IBM Infosphere Datastage Developer
trobinson
Participant
Posts: 208
Joined: Thu Apr 11, 2002 6:02 am
Location: Saint Louis
Contact:

Post by trobinson »

I don't know either but to find out I would;
Export a small Sequence with a Job activity with the option run.
Change the Sequence to reset then run and re-export.
diff the two.
The difference (the change from run to reset then run) "should be" fairly easy to discover.
arnabdey
Participant
Posts: 50
Joined: Wed Jan 10, 2007 5:56 am

Post by arnabdey »

Look for the Execution Mode provided in the .dsx file. It is 0 for Run and 1 for reset and run.

Also there is a check like the following
If Not(b$CPRestarted) Then GoTo L$V0S3$PREPARED
for the simple run option, which needs to be removed for reset and run.
Arnab
clarcombe
Premium Member
Premium Member
Posts: 515
Joined: Wed Jun 08, 2005 9:54 am
Location: Europe

Post by clarcombe »

I have found an ExecutionType. Do you mean this ?
Colin Larcombe
-------------------

Certified IBM Infosphere Datastage Developer
arnabdey
Participant
Posts: 50
Joined: Wed Jan 10, 2007 5:56 am

Post by arnabdey »

Yes, that will be 0 or 1
Arnab
Post Reply