# Restartable Job in Natural

**URL:** <https://techcommunity.softwareag.com/t/restartable-job-in-natural/177415>\
**Category:** Forum\
**Tags:** Adabas-Natural, Natural, Natural-on-Mainframes\
**Created:** [July 14, 2014, 2:55pm UTC](https://techcommunity.softwareag.com/t/restartable-job-in-natural/177415 "2014-07-14T14:55:00Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shashank\_Gite1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/shashank_gite1/32/351_2.png) [@Shashank\_Gite1](https://techcommunity.softwareag.com/u/Shashank_Gite1)\
**Post date:** [July 14, 2014, 2:55pm UTC](https://techcommunity.softwareag.com/t/restartable-job-in-natural/177415/1 "2014-07-14T14:55:00Z")

</div>

How can we create a restartable job to restart the job from where it got abended? I do not want to reprocess the records which has already been processed by the Job.

---

<div class="post-metadata">

**Author:** ![Brian\_Johnson1](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/brian_johnson1/32/163_2.png) [@Brian\_Johnson1](https://techcommunity.softwareag.com/u/Brian_Johnson1)\
**Post date:** [July 14, 2014, 3:21pm UTC](https://techcommunity.softwareag.com/t/restartable-job-in-natural/177415/2 "2014-07-14T15:21:19Z")

</div>

Hi Shashank,

It’s really up to the programmer to ensure a job is restartable, and that would be based on what exactly the job is doing. It’s easier on operations if you can make it so the job can the started from the top or from a certain step without modification, but sometimes you may require changes to JCL or inclusion of a restart parameter in order to handle dataset concerns (GDG version exists or dataset was created) or to skip processed records. You should ensure your program displays or stores information that will aid in the restartability, and restart instructions should be coded into the JCL to make it easy for any on-call programmer to know what to do when called (because likely it won’t be the original programmer to will support it down the road).

-Brian

---

<div class="post-metadata">

**Author:** ![Steve\_Robinson](https://sea1.discourse-cdn.com/techcommunity/user_avatar/techcommunity.softwareag.com/steve_robinson/32/107_2.png) [@Steve\_Robinson](https://techcommunity.softwareag.com/u/Steve_Robinson)\
**Post date:** [July 14, 2014, 4:56pm UTC](https://techcommunity.softwareag.com/t/restartable-job-in-natural/177415/3 "2014-07-14T16:56:02Z")

</div>

If, by “job” you mean a single program, you should look at Natural’s Transaction Logic.

This means the END TRANSACTION statement, BACKOUT TRANSACTION, and the use of ET data for restarting programs.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 3:31pm UTC](https://techcommunity.softwareag.com/t/restartable-job-in-natural/177415/4 "2021-04-02T15:31:32Z")

</div>


