Automatic Job Scheduling in Rex



IBM's Command List programming language & Restructured Extended Executor

Automatic Job Scheduling in Rex

Postby PADDY » Thu Jun 05, 2008 6:31 am

Is it possible to schedule a job (without using any schedulers) to run based on time using REXX? Please help us in this regard.

-Paddy
PADDY
 
Posts: 1
Joined: Wed Jun 04, 2008 2:43 am
Has thanked: 0 time
Been thanked: 0 time

Re: Automatic Job Scheduling in Rex

Postby dick scherrer » Thu Jun 05, 2008 7:09 am

Hello Paddy and welcome to the forums,

REXX is just another language. It has no built-in "chron"-style function.

If you need to schedule something, why not use the scheduling software already on the system?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Automatic Job Scheduling in Rex

Postby ram23bal » Sat Jun 07, 2008 5:04 pm

Iam also having the same requirement as Paddy....

I want to take backup on daily basis... Its a bunch of manual work iam doing is it possible to do with Rexx on a daily basis....
ram23bal
 
Posts: 32
Joined: Sat May 24, 2008 3:57 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Automatic Job Scheduling in Rex

Postby dick scherrer » Sat Jun 07, 2008 5:38 pm

Hello,

I want to take backup on daily basis...
So, schedule the backup to run daily. . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Automatic Job Scheduling in Rex

Postby ram23bal » Sun Jun 08, 2008 9:23 am

I too thought of it... But my problem is getting approval for scheduling is a big task in my concern.... So iam searching for an better alternate....
ram23bal
 
Posts: 32
Joined: Sat May 24, 2008 3:57 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Automatic Job Scheduling in Rex

Postby dick scherrer » Sun Jun 08, 2008 11:03 pm

Hello,

If it is worth ensuring it is scheduled, it is worth getting the approval. If it doesn't really matter, run it when you think of it.

There may be an easier alternative, but it will not be better. . .

Keep in mind that if you put toggether some RYO (roll your own) solution, you will still need to check that your process is always working. If you use the scheduler, once it is in, you should not have to be concerned agan.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Automatic Job Scheduling in Rex

Postby MrSpock » Thu Jun 12, 2008 3:41 am

Paddy and ram,

The two things that neither of you have mentioned yet is:

1. Why REXX and not some other langauge (I would think Assembler or C would be better suited)?

2. Where would this processing take place?

Obviously, you wouldn't run this code from a TSO session, since your session would be constantly locked while a routine constantly checks the TOD clock. So, would you be running this code in the background, either as a batch job or started task? Both of those may be options depending on what your site standards allow. Would they be running in a more real-time transaction-based system (CICS, Netview, some Automated Operator Console product, Connect:Direct)? That seems to me to be the best option, since these systems are always available, are auditable, and are highly reliable.
User avatar
MrSpock
Global moderator
 
Posts: 809
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times


Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post