InfoSphere DataStage: Problems when running multiple instances of a job from a job sequence, or from a script using dsjob
Environment variable: DSWaitResetStartup
When multiple instances of a job are run from a sequence, and one or more of the job instances are set to reset, the sequence might report a status=99. This can occur because the controlling sequence did not give the job instances enough time to reset before polling its status. The start up time for a job reset must be increased. The environment variable DSWaitResetStartup can be used for this purpose. (The maximum value that can be set for DSWaitResetStartup is the value of DSWaitStartup (default is 60). For example, if a value of 120 is required for DSWaitResetStartup, then ensure that DSWaitStartup is also set to a minimum of 120.)
Environment variable: DS_NO_INSTANCE_PURGING
If the system is under extreme load, it might be necessary to use the DS_NO_INSTANCE_PURGING environment variable if Status=99 errors still occur when running many multi-instance jobs and auto-purge is enabled. This environment variable must be set to 1. This stops the auto-purge from deleting the status records for the job instance, allowing the controlling job to read its status when system resource becomes available. (In other situations, you might want clean logs with no persistent instance entries, so the default behavior is to purge instance entries.)
Though we have reduced number of multiple instance jobs to an optimal by trial and error but i will strongly suggest you to open a ticket with IBM.
Regards
sAM
I haven't failed, I've found 10,000 ways that don't work.
Thomas Alva Edison(1847-1931)
ray.wurlod wrote:99 is a real status. Typically it translates in Director to "Not compiled". ...
Yes Ray that's right. But my question is, if a normal job completed then the code is returning the status as 1 whereas for the multiple instance job giving 99!
That's not seems consistence to me!
Thanks
Ram
----------------------------------
Revealing your ignorance is fine, because you get a chance to learn.
Wait... what? That wasn't directed at you but to everyone else. Or are you saying you are having a problem running the job? I thought the job was running fine, you just didn't think you were getting the proper status return code.
-craig
"You can never have too many knives" -- Logan Nine Fingers