IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to run the Rexx Program at a set time


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
venkatatcts

New User


Joined: 16 Mar 2009
Posts: 55
Location: India

PostPosted: Mon Sep 07, 2009 11:52 pm
Reply with quote

Hi,

I have a to run a rexx Program which should FTP the excel file from desktop to Mainframe PS and invoke a JCL with PS as input file. Please let me know that whether it can be done through REXX.

Thanks in Advance,
Venkatraman.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Sep 08, 2009 12:14 am
Reply with quote

Quote:
How to run the Rexx Program at a set time


from the topic title the obvious reply is to use Your scheduling facilities, but ...

where is the REXX supposed to be running ?
what is the trigger that determines when the process should be started
if it is an excel WS the most appropriate approach seems to have the end user ( at the desktop ) to start the whole shebang
ftp and job submission..

or better just the FTP and have Your scheduler schedule the job based on the dataset arrival
Back to top
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 400
Location: Mumbai

PostPosted: Tue Sep 08, 2009 6:26 am
Reply with quote

If you are controlling this from Windows, look at the built in Task Scheduler in the control panel. If you are controlling this from a Unix or Linux workstation, check out cron.

If you are connecting to the workstation from the mainframe, use a scheduler there (or cron is also available if you have access to it).

The one thing you *don't* want to do is submit a job that loops or wakes up at a specific time. That is a complete waste of resources.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Using API Gateway from CICS program CICS 0
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
Search our Forums:

Back to Top