Hi,
I need to start or abort the job based on the return value of the routine.
Scenario
I've a routine which I'm planning to call in sequencer thro' routine stage the routine returns the value 1 and 0 , I need to start the Datastage job if the value is 1 and do not start the job if value is 0.
Regards,
Conditional Job Start from Routine Value
Moderators: chulett, rschirm, roy
Simple enough with a Nested Condition stage. Have it check the return status and either go down a link that runs your job or a second link that bypasses it. Both should end at a Sequencer stage set to 'Any' if the job stream needs to continue.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
Hi Craig,
How to check the return status of routine in Nested condition stage.
It do not give the option to do it.
The scenario is If the routine returns the value 44 the run the job else do not run the job.
Regards
How to check the return status of routine in Nested condition stage.
It do not give the option to do it.
The scenario is If the routine returns the value 44 the run the job else do not run the job.
Regards
chulett wrote:Simple enough with a Nested Condition stage. Have it check the return status and either go down a link that runs your job or a second link that bypasses it. Both should end at a Sequencer stage set to 'Any' if the job stream needs to continue.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: