# Script for Scheduler Program always has program disabled

**URL:** <https://forums.toadworld.com/t/script-for-scheduler-program-always-has-program-disabled/49857>\
**Category:** Toad for Oracle - Beta\
**Created:** [May 18, 2020, 1:17pm UTC](https://forums.toadworld.com/t/script-for-scheduler-program-always-has-program-disabled/49857 "2020-05-18T13:17:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rjesse](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/rjesse/32/156_2.png) [@rjesse](https://forums.toadworld.com/u/rjesse)\
**Post date:** [May 18, 2020, 1:17pm UTC](https://forums.toadworld.com/t/script-for-scheduler-program-always-has-program-disabled/49857/1 "2020-05-18T13:17:29Z")

</div>

Hey all,

In the SB RHS script tab for Scheduler Programs for beta 14.0.0.353, all programs are shown as "ENABLED = FALSE", even if the program is enabled.

Perhaps a setting I'm not seeing somewhere?

Thanks!  
Rich

---

<div class="post-metadata">

**Author:** ![JohnDorlon](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/johndorlon/32/9997_2.png) [@JohnDorlon](https://forums.toadworld.com/u/JohnDorlon)\
**Post date:** [May 18, 2020, 2:22pm UTC](https://forums.toadworld.com/t/script-for-scheduler-program-always-has-program-disabled/49857/2 "2020-05-18T14:22:44Z")

</div>

There is a command to enable it at the end though, right?

I'm sure there is a reason why I did it that way, but can't remember offhand what it was. Maybe to prevent the thing from running right away? Maybe to avoid some error about arguments? If present, they are created after the program.

---

<div class="post-metadata">

**Author:** ![rjesse](https://sea1.discourse-cdn.com/quest/user_avatar/forums.toadworld.com/rjesse/32/156_2.png) [@rjesse](https://forums.toadworld.com/u/rjesse)\
**Post date:** [May 18, 2020, 4:29pm UTC](https://forums.toadworld.com/t/script-for-scheduler-program-always-has-program-disabled/49857/3 "2020-05-18T16:29:33Z")

</div>

Yes, of course that's the case. I apparently don't go into my Schedules very often (this particular one's been in place since 2009). Having that script behavior only on the Program and not the Schedule nor the Job is what caught my eye, and not the re-enable afterwards.

I'm migrating all of our DBs from 12.1 on AIX on-prem to 19.6 on Linux off-prem, changing replication (moving to SharePlex), and an ERP upgrade to boot. It seems I'm a little more scatter-brained than usual. 😉

Thanks John!  
Rich
