Compile vs Reset

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
rl
Participant
Posts: 14
Joined: Sun Sep 21, 2008 2:37 am

Compile vs Reset

Post by rl »

Hello,

I am in the testing phase of a project.

Is reset in director same as compile in designer?

It takes less time for me to reset the job in director than open jobs in the designer and compile if the jobs abort. I am running these jobs using a batch job

Thanks & Regards,
RL
rl
Participant
Posts: 14
Joined: Sun Sep 21, 2008 2:37 am

Post by rl »

Hi,

I searched and found this link

viewtopic.php?t=129605&highlight=compile++reset

The jobs aborted because the input files were present at the time of run, in this case 'reset' is a good option as jobs were not changed.

'Compile'was applicable if there was a code change
Please correct my understanding (in this scenario) if I am wrong

Thanks & Regards,
RL
nikhilanshuman
Participant
Posts: 58
Joined: Tue Nov 17, 2009 3:38 am

Re: Compile vs Reset

Post by nikhilanshuman »

Compiling a job generates the OSH.If a job is reset,the OSH is not created.After reseting a job,it comes into "runable" state.

Note:If a job is recompiled,OSH is generated only for the changed components.
Nikhil
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Resetting a job is only a change in state of the executable.
rl
Participant
Posts: 14
Joined: Sun Sep 21, 2008 2:37 am

Post by rl »

Thank you all for explaining it at the OSH level.

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

Post by chulett »

There's no "OSH" in a Server job.
-craig

"You can never have too many knives" -- Logan Nine Fingers
rl
Participant
Posts: 14
Joined: Sun Sep 21, 2008 2:37 am

Post by rl »

chulett wrote:There's no "OSH" in a Server job. ...
Hi chulett,

if a job is reset the basic program is not changed and only the executable state will be changed so that the job can be run.
and if a job is compiled the basic program will be updated

is it correct?

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

Post by chulett »

Correct. You could remove the word 'BASIC' from what you wrote and have a statement applicable to either job type. Reset is for status, compile... compiles. As in the 'executable', whatever it is - BASIC, C++, OSH, etc.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply