I have 30 jobs all are using Same code so i kept it in tRunjob and using the same code,Now can i run all the 30 jobs at a time in parallel in enterpise studio.
If i do so will the job work fine
or will their be any lock on the job since same job is called many times.
Quick Response is much appriciated.
The job you are running using the tRunJob can be considered a Java Class. Every time you run this Job you are actually instantiating a new Instance of the Class. So yes, you can run them all in parallel with no issues.....other than potential memory and thread issues that you will have to consider.
I agree to @rhall_2_0 but if the job updates/ inserts records in same DB table, that will cause a lock on the table. That's the reason wanted to understand the function/role of your job.