Count warnings and stop job
Moderators: chulett, rschirm, roy
Count warnings and stop job
I want to run job in sequence and if the job creates number of warning over the definit number of errors ( I want to define the number per each job) not to go on with it sequence and abort
How to do this ?
How to do this ?
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
All link row counts can be obtained from DSGetLinkInfo() function.
If the job has not aborted, link row counts can also be obtained by interrogating the log "active stage finished" messages.
If the job has aborted, and has been reset, the number of rows on the reject link may also be able to be captured from the job log.
If the job has not aborted, link row counts can also be obtained by interrogating the log "active stage finished" messages.
If the job has aborted, and has been reset, the number of rows on the reject link may also be able to be captured from the job log.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 23
- Joined: Mon Jul 04, 2005 6:25 am
-
- Participant
- Posts: 23
- Joined: Mon Jul 04, 2005 6:25 am
-
- Participant
- Posts: 232
- Joined: Sat May 07, 2005 2:49 pm
- Location: USA
Hi snassimr,
I guess that elavenil meant that, once you see the generated code in either server job using add job or in job sequencer on the job control tab, you can copy the code to a batch job and add your custom code in it. Then you can use the batch job from the command prompt to run the sequence of jobs.
I guess that elavenil meant that, once you see the generated code in either server job using add job or in job sequencer on the job control tab, you can copy the code to a batch job and add your custom code in it. Then you can use the batch job from the command prompt to run the sequence of jobs.
Thanks,
Naveen
Naveen
Hi Snassmir,
As Naveen mentioned, you can copy the code from the sequencer and paste it in the job control and you can edit that code.
What i am trying to say is the job control is only available to normal jobs but not to the sequencer and you can edit the code, which is created as mentioned in my earlier post.
HTWH.
Regards
Saravanan
As Naveen mentioned, you can copy the code from the sequencer and paste it in the job control and you can edit that code.
What i am trying to say is the job control is only available to normal jobs but not to the sequencer and you can edit the code, which is created as mentioned in my earlier post.
HTWH.
Regards
Saravanan